diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-29 03:18:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-29 03:18:59 +0000 |
commit | 9a7cfea9e5f6a8289e802dc6d39be521760bc525 (patch) | |
tree | 045af3bf51bab4da2b715f462452afbaebb6de13 /test/signal | |
parent | df80b74f4b2d282ae9b07e951a798936bb706a48 (diff) |
fixup shadowed warnings
Diffstat (limited to 'test/signal')
-rw-r--r-- | test/signal/sigchld.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/signal/sigchld.c b/test/signal/sigchld.c index d53165419..22febaca7 100644 --- a/test/signal/sigchld.c +++ b/test/signal/sigchld.c @@ -19,12 +19,12 @@ int main(void) { pid_t mypid; struct sigaction siga; - static sigset_t sigset; + static sigset_t set; /* Set up sighandling */ - sigfillset(&sigset); + sigfillset(&set); siga.sa_handler = test_handler; - siga.sa_mask = sigset; + siga.sa_mask = set; siga.sa_flags = 0; if (sigaction(SIGCHLD, &siga, (struct sigaction *)NULL) != 0) { fprintf(stderr, "sigaction choked: %s!", strerror(errno)); |