From df2608d2d49bb8eda7c1513599ef62c631992f69 Mon Sep 17 00:00:00 2001 From: John Zaitseff Date: Fri, 22 Jul 2011 12:31:54 +1000 Subject: [PATCH] Make module-specific internal functions static --- src/trader.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/trader.c b/src/trader.c index 3ad3e04..d22c1a0 100644 --- a/src/trader.c +++ b/src/trader.c @@ -90,7 +90,7 @@ int main (int argc, char *argv[]); command-line help. It also sets global variables starting with option_ to appropriate values. */ -void process_cmdline (int argc, char *argv[]); +static void process_cmdline (int argc, char *argv[]); /* @@ -101,7 +101,7 @@ void process_cmdline (int argc, char *argv[]); This function displays version information about this program, then terminates with exit code EXIT_SUCCESS. */ -void show_version (void) __attribute__((noreturn)); +static void show_version (void) __attribute__((noreturn)); /* @@ -114,7 +114,7 @@ void show_version (void) __attribute__((noreturn)); message is sent to stderr. It exits to the operating system with status as the exit code. */ -void show_usage (int status) __attribute__((noreturn)); +static void show_usage (int status) __attribute__((noreturn)); /* @@ -125,7 +125,7 @@ void show_usage (int status) __attribute__((noreturn)); This function initialises the terminal display, internal low-level routines, etc. It should be called before the game starts. */ -void init_program (void); +static void init_program (void); /* @@ -137,7 +137,7 @@ void init_program (void); routines, etc. It should be the last function called in the ordinary course of program execution. */ -void end_program (void); +static void end_program (void); /************************************************************************