summaryrefslogtreecommitdiffstats
path: root/libc/inet/if_index.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-23 03:09:05 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-23 03:09:05 +0000
commit9fe852f17f0d07dca9f33ef862618a3bd3cb3df0 (patch)
tree7777f3d3d32d16ce878ec713f22384ee5d780895 /libc/inet/if_index.c
parenta6624c7cb7f47281f01834c00d31322dfe9b16f2 (diff)
downloaduClibc-alpine-9fe852f17f0d07dca9f33ef862618a3bd3cb3df0.tar.bz2
uClibc-alpine-9fe852f17f0d07dca9f33ef862618a3bd3cb3df0.tar.xz
Merge from trunk and bring in NPTL changes.
Diffstat (limited to 'libc/inet/if_index.c')
-rw-r--r--libc/inet/if_index.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/inet/if_index.c b/libc/inet/if_index.c
index 239ed6416..b89051c79 100644
--- a/libc/inet/if_index.c
+++ b/libc/inet/if_index.c
@@ -38,11 +38,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;