summaryrefslogtreecommitdiff
path: root/src/getnetconfig.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-22 14:43:52 -0400
committerSteve Dickson <steved@redhat.com>2015-04-23 08:29:45 -0400
commit7228a9482b92ff0305f7e7ccd0276c638bee1884 (patch)
treefa4de0d3792e4ae658cdf934595c05514b75f3a8 /src/getnetconfig.c
parent4d3263ca3b64de8acdcaf71d36bfb0eda06b8710 (diff)
downloadti-rpc-7228a9482b92ff0305f7e7ccd0276c638bee1884.tar.gz
Avoid use of internal glibc sys/cdefs.h header
This header was never intended to be used by programs. Expand the macros used, __BEGIN_CDECLS, __END_CDECLS and __P() The __THROW macro is a non-portable hint for optimization so we simply remove those. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'src/getnetconfig.c')
-rw-r--r--src/getnetconfig.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/getnetconfig.c b/src/getnetconfig.c
index 635c03a..92e7c43 100644
--- a/src/getnetconfig.c
+++ b/src/getnetconfig.c
@@ -32,7 +32,6 @@
#include <pthread.h>
#include <reentrant.h>
-#include <sys/cdefs.h>
#include <stdio.h>
#include <errno.h>
#include <netconfig.h>