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/unistd | |
parent | 55aaeb574609ff7fb7ac93ce4ffe01be0a56f5b7 (diff) |
fixup prototype warnings
Diffstat (limited to 'test/unistd')
-rw-r--r-- | test/unistd/clone.c | 4 | ||||
-rw-r--r-- | test/unistd/errno.c | 2 | ||||
-rw-r--r-- | test/unistd/fork.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test/unistd/clone.c b/test/unistd/clone.c index bc08c94bf..ea7e6ac64 100644 --- a/test/unistd/clone.c +++ b/test/unistd/clone.c @@ -19,12 +19,12 @@ #define GOT3 (1 << 3) #define ALLGOT (GOT1|GOT2|GOT3) -void child_handler(int sig) +static void child_handler(int sig) { printf("I got a SIGCHLD\n"); } -int clone_main(void *arg) +static int clone_main(void *arg) { unsigned long input = (unsigned long)arg; int secs = (input / 10) * 4; diff --git a/test/unistd/errno.c b/test/unistd/errno.c index c77f58aa2..b9e0f5216 100644 --- a/test/unistd/errno.c +++ b/test/unistd/errno.c @@ -6,7 +6,7 @@ #include <sched.h> #include "clone_cruft.h" -int child_fn(void *arg) +static int child_fn(void *arg) { fprintf(stderr, "in child_fn\n"); exit(1); diff --git a/test/unistd/fork.c b/test/unistd/fork.c index b163c0ef9..6d132d6d8 100644 --- a/test/unistd/fork.c +++ b/test/unistd/fork.c @@ -18,7 +18,7 @@ #ifdef __ARCH_USE_MMU__ -void child_handler(int sig) +static void child_handler(int sig) { fprintf(stderr, "I got a SIGCHLD\n"); } |