mirror of
https://git.zap.org.au/git/trader.git
synced 2024-11-03 17:27:29 -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 *
|
||||
************************************************************************/
|
||||
|
||||
/*
|
||||
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
|
||||
Parameters: dest - Destination buffer of size BUFSIZE
|
||||
@ -115,17 +126,6 @@ static void txinput_fixup (char *restrict dest, char *restrict src,
|
||||
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 *
|
||||
************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user