diff options
Diffstat (limited to 'libc/inet')
-rw-r--r-- | libc/inet/if_index.c | 4 | ||||
-rw-r--r-- | libc/inet/rpc/rcmd.c | 1 |
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) |