From 55b24e4e95a715b451507f2790d292fa8b1c2c1c Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 22 Mar 2006 15:49:22 +0000 Subject: Mark some functions as GNU, provide missing hidden memmem, remove _ISOC99/XOPEN_SOURCE --- libc/inet/if_index.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libc/inet/if_index.c') 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; -- cgit v1.2.3