Code

src/foobar.c: Declare exit_usage() and exit_version() as static.
authorSebastian Harl <sh@tokkee.org>
Mon, 18 Aug 2008 15:06:14 +0000 (17:06 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 18 Aug 2008 15:06:14 +0000 (17:06 +0200)
src/foobar.c

index c4205e9f7e1bf5d451eb4f0b680235427afb74af..927c8688d205b08c6c6ed1146ba500b13b334284 100644 (file)
@@ -37,7 +37,7 @@
 
 #include <unistd.h>
 
-void exit_usage(char *name, int status)
+static void exit_usage(char *name, int status)
 {
        printf("Usage: %s <options>\n"
 
@@ -49,7 +49,7 @@ void exit_usage(char *name, int status)
        exit(status);
 } /* exit_usage */
 
-void exit_version(void)
+static void exit_version(void)
 {
        printf("foobar version "VERSION", built "BUILD_DATE"\n"
                        "Copyright (C) 2008 Sebastian Harl <sh@tokkee.org>\n"