diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-27 16:47:36 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-27 16:47:36 +0100 |
commit | 147d1dbb9d87ef73175e91d34d66d6bb4189a11e (patch) | |
tree | a243da567bd665912acc1e234122bb44d7779f8c /sysdeps/generic | |
parent | 4f66dc23900265f6cab8772de2134cb6bebe1945 (diff) | |
download | glibc-147d1dbb9d87ef73175e91d34d66d6bb4189a11e.tar.gz glibc-147d1dbb9d87ef73175e91d34d66d6bb4189a11e.tar.xz glibc-147d1dbb9d87ef73175e91d34d66d6bb4189a11e.zip |
hurd: fix warnings
* sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset, __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really return 0.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/sigsetops.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/generic/sigsetops.h b/sysdeps/generic/sigsetops.h index 02bc728c06..52b0e79071 100644 --- a/sysdeps/generic/sigsetops.h +++ b/sysdeps/generic/sigsetops.h @@ -28,12 +28,12 @@ #define __sigemptyset(set) \ (__extension__ ({ \ *(set) = (__sigset_t) 0; \ - (void)0; \ + 0; \ })) #define __sigfillset(set) \ (__extension__ ({ \ *(set) = ~(__sigset_t) 0; \ - (void)0; \ + 0; \ })) # define __sigisemptyset(set) \ @@ -42,13 +42,13 @@ # define __sigandset(dest, left, right) \ (__extension__ ({ \ *(dest) = *(left) & *(right); \ - (void)0; \ + 0; \ })) # define __sigorset(dest, left, right) \ (__extension__ ({ \ *(dest) = *(left) | *(right); \ - (void)0; \ + 0; \ })) /* These macros needn't check for a bogus signal number; @@ -63,14 +63,14 @@ (__extension__ ({ \ __sigset_t __mask = __sigmask (sig); \ *(set) |= __mask; \ - (void)0; \ + 0; \ })) # define __sigdelset(set, sig) \ (__extension__ ({ \ __sigset_t __mask = __sigmask (sig); \ *(set) &= ~__mask; \ - (void)0; \ + 0; \ })) #endif |