diff options
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"); } |