nscd: fall back gracefully on kernels without AF_UNIX support
[musl] / src / network / netlink.h
index 20700ac..38acb17 100644 (file)
@@ -91,4 +91,4 @@ struct ifaddrmsg {
 #define NLMSG_RTA(nlh,len)     ((void*)((char*)(nlh)+sizeof(struct nlmsghdr)+NETLINK_ALIGN(len)))
 #define NLMSG_RTAOK(rta,nlh)   RTA_OK(rta,NLMSG_DATAEND(nlh))
 
-int __rtnetlink_enumerate(int link_af, int addr_af, int (*cb)(void *ctx, struct nlmsghdr *h), void *ctx);
+hidden int __rtnetlink_enumerate(int link_af, int addr_af, int (*cb)(void *ctx, struct nlmsghdr *h), void *ctx);