summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/cmsg_nxthdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/cmsg_nxthdr.c')
-rw-r--r--libc/sysdeps/linux/common/cmsg_nxthdr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/cmsg_nxthdr.c b/libc/sysdeps/linux/common/cmsg_nxthdr.c
index a2352efe4..ce6a298c0 100644
--- a/libc/sysdeps/linux/common/cmsg_nxthdr.c
+++ b/libc/sysdeps/linux/common/cmsg_nxthdr.c
@@ -21,6 +21,8 @@
#include <features.h>
#include <sys/socket.h>
+libc_hidden_proto(__cmsg_nxthdr)
+
struct cmsghdr *
__cmsg_nxthdr (struct msghdr *mhdr, struct cmsghdr *cmsg)
{
@@ -38,5 +40,4 @@ __cmsg_nxthdr (struct msghdr *mhdr, struct cmsghdr *cmsg)
return NULL;
return cmsg;
}
-libc_hidden_proto(__cmsg_nxthdr)
libc_hidden_def(__cmsg_nxthdr)