diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-11-26 20:54:16 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-11-26 20:54:16 +0000 |
commit | 8915eacef88eb25ac94e6bb37b473adb326e9d1b (patch) | |
tree | cb431216b6925c65f721537f7370830938b9b79d /ChangeLog | |
parent | f1a5a0e3c3d32bb800a0a63a0cfcd1b25a8e3d4d (diff) | |
download | glibc-8915eacef88eb25ac94e6bb37b473adb326e9d1b.zip glibc-8915eacef88eb25ac94e6bb37b473adb326e9d1b.tar.gz glibc-8915eacef88eb25ac94e6bb37b473adb326e9d1b.tar.bz2 |
Avoid warnings for unused results in nscd/connections.c.
This patch avoids warnings for unused results of setuid and setgid in
nscd/connections.c using an ignore_value macro along the lines
suggested by Paul in
<https://sourceware.org/ml/libc-alpha/2014-11/msg00733.html>.
Tested for x86_64.
* include/libc-internal.h (ignore_value): New macro.
* nscd/connections.c (restart): Wrap calls to setuid and setgid
with ignore_value.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2014-11-26 Joseph Myers <joseph@codesourcery.com> + * include/libc-internal.h (ignore_value): New macro. + * nscd/connections.c (restart): Wrap calls to setuid and setgid + with ignore_value. + * sysdeps/mips/__longjmp.c (____longjmp): Use prototype definition. |