summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-22 15:49:22 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-22 15:49:22 +0000
commit55b24e4e95a715b451507f2790d292fa8b1c2c1c (patch)
treeae6464b93a9b660617b9f7a569276945294dcce7 /libc/inet
parent86ea254301f7e2fcd860c4072c0a938b4e048d42 (diff)
Mark some functions as GNU, provide missing hidden memmem, remove _ISOC99/XOPEN_SOURCE
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/if_index.c4
-rw-r--r--libc/inet/rpc/rcmd.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/libc/inet/if_index.c b/libc/inet/if_index.c
index fdb30f00a..ed46db231 100644
--- a/libc/inet/if_index.c
+++ b/libc/inet/if_index.c
@@ -35,11 +35,13 @@
#include "netlinkaccess.h"
-libc_hidden_proto(strndup)
libc_hidden_proto(strncpy)
libc_hidden_proto(strdup)
libc_hidden_proto(ioctl)
libc_hidden_proto(close)
+#if __ASSUME_NETLINK_SUPPORT
+libc_hidden_proto(strndup)
+#endif
extern int __opensock(void) attribute_hidden;
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c
index ee47cf4f5..90e30563b 100644
--- a/libc/inet/rpc/rcmd.c
+++ b/libc/inet/rpc/rcmd.c
@@ -94,7 +94,6 @@ libc_hidden_proto(strcmp)
libc_hidden_proto(strcpy)
libc_hidden_proto(strlen)
libc_hidden_proto(strncmp)
-libc_hidden_proto(strnlen)
libc_hidden_proto(memmove)
libc_hidden_proto(getpid)
libc_hidden_proto(socket)