mirror of
https://git.zap.org.au/git/trader.git
synced 2025-02-02 15:08:13 -05:00
Rearrange function prototypes to match the order in the source file
This commit is contained in:
parent
4d133cf662
commit
8a2bc51f28
22
src/intf.c
22
src/intf.c
@ -96,6 +96,17 @@ txwin_t *firstwin = NULL; // First (bottom-most) txwin structure
|
|||||||
* Module-specific function prototypes *
|
* Module-specific function prototypes *
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
|
|
||||||
|
/*
|
||||||
|
Function: sigterm_handler - Handle program termination signals
|
||||||
|
Parameters: sig - Signal number
|
||||||
|
Returns: (nothing)
|
||||||
|
|
||||||
|
This function handles termination signals (like SIGINT and SIGTERM) by
|
||||||
|
setting the global variable abort_game to true.
|
||||||
|
*/
|
||||||
|
static void sigterm_handler (int sig);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Function: txinput_fixup - Copy strings with fixup
|
Function: txinput_fixup - Copy strings with fixup
|
||||||
Parameters: dest - Destination buffer of size BUFSIZE
|
Parameters: dest - Destination buffer of size BUFSIZE
|
||||||
@ -115,17 +126,6 @@ static void txinput_fixup (char *restrict dest, char *restrict src,
|
|||||||
bool isfloat);
|
bool isfloat);
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Function: sigterm_handler - Handle program termination signals
|
|
||||||
Parameters: sig - Signal number
|
|
||||||
Returns: (nothing)
|
|
||||||
|
|
||||||
This function handles termination signals (like SIGINT and SIGTERM) by
|
|
||||||
setting the global variable abort_game to true.
|
|
||||||
*/
|
|
||||||
static void sigterm_handler (int sig);
|
|
||||||
|
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
* Basic text input/output function definitions *
|
* Basic text input/output function definitions *
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user