diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-29 02:56:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-29 02:56:45 +0000 |
commit | 92a56f367e6635bebf4e519a49943c15d2981d85 (patch) | |
tree | 8d0cc34ab7791579c5e7979bc09b5ede8b1bc7be /test/signal/signal.c | |
parent | 55aaeb574609ff7fb7ac93ce4ffe01be0a56f5b7 (diff) |
fixup prototype warnings
Diffstat (limited to 'test/signal/signal.c')
-rw-r--r-- | test/signal/signal.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/signal/signal.c b/test/signal/signal.c index 6e6f04a7a..01d1a785f 100644 --- a/test/signal/signal.c +++ b/test/signal/signal.c @@ -24,7 +24,7 @@ const char *it = "<UNSET>"; /* Routine name for message routines. */ size_t errors = 0; -void check(int thing, int number) +static void check(int thing, int number) { if (!thing) { printf("%s: flunked test %d\n", it, number); @@ -32,10 +32,12 @@ void check(int thing, int number) } } -void equal(const char *a, const char *b, int number) +#if 0 +static void equal(const char *a, const char *b, int number) { check(a != NULL && b != NULL && (strcmp(a, b) == 0), number); } +#endif /* -------------------------------------------------*/ @@ -44,14 +46,14 @@ void equal(const char *a, const char *b, int number) int global_int = 0; -void set_global_int_to_one(int signum) +static void set_global_int_to_one(int signum) { printf ("Received signal %d (%s).\n", signum, strsignal(signum)); global_int = 1; return; } -void signal_test_1(void) +static void signal_test_1(void) { global_int = 0; |