This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Avoid warnings for unused results in nscd/connections.c


Hi,

Building glibc fails at least on s390/power with:
connections.c: In function ‘restart’:
connections.c:1467:4: error: implicit declaration of function ‘ignore_value’ [-Werror=implicit-function-declaration]
    ignore_value (setuid (server_uid));
    ^
cc1: some warnings being treated as errors

Including libc-internal.h fixes the build failure.

Bye
Stefan

---
2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>

	* nscd/connections.c: Include libc-internal.h
	  because of macro usage ignore_value.

Attachment: 20141127_connections
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]