summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/cmsg_nxthdr.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-03 23:36:38 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-03 23:36:38 +0000
commit855dca36fe7aa348dc56996385fbbb77fbf3e83d (patch)
treeacb8204659fd3f784cd2fa9248e6ab09861af47b /libc/sysdeps/linux/common/cmsg_nxthdr.c
parent86450311ebd0010553252d6d9efadb208dd085cb (diff)
Rename newly created __libc_x (reserved for libpthread overwrites) w/ x_internal, do not use cascading aliases
Diffstat (limited to 'libc/sysdeps/linux/common/cmsg_nxthdr.c')
-rw-r--r--libc/sysdeps/linux/common/cmsg_nxthdr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/cmsg_nxthdr.c b/libc/sysdeps/linux/common/cmsg_nxthdr.c
index cc17c28f5..771f5172b 100644
--- a/libc/sysdeps/linux/common/cmsg_nxthdr.c
+++ b/libc/sysdeps/linux/common/cmsg_nxthdr.c
@@ -21,9 +21,8 @@
#include <features.h>
#include <sys/socket.h>
-
struct cmsghdr attribute_hidden *
-__libc_cmsg_nxthdr (struct msghdr *mhdr, struct cmsghdr *cmsg)
+__cmsg_nxthdr_internal (struct msghdr *mhdr, struct cmsghdr *cmsg)
{
if ((size_t) cmsg->cmsg_len < sizeof (struct cmsghdr))
/* The kernel header does this so there may be a reason. */
@@ -39,4 +38,4 @@ __libc_cmsg_nxthdr (struct msghdr *mhdr, struct cmsghdr *cmsg)
return NULL;
return cmsg;
}
-strong_alias(__libc_cmsg_nxthdr,__cmsg_nxthdr)
+strong_alias(__cmsg_nxthdr_internal,__cmsg_nxthdr)