1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-07-21 16:14:14 -04:00

Rearrange function prototypes to match the order in the source file

This commit is contained in:
John Zaitseff 2011-08-09 13:06:21 +10:00
parent 4d133cf662
commit 8a2bc51f28

View File

@ -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 *
************************************************************************/