diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/recvmsg.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/recvmsg.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/recvmsg.c b/sysdeps/unix/sysv/linux/recvmsg.c index 04cf230828..14a3417da8 100644 --- a/sysdeps/unix/sysv/linux/recvmsg.c +++ b/sysdeps/unix/sysv/linux/recvmsg.c @@ -32,10 +32,10 @@ struct __kernel_ucred __kernel_gid_t gid; }; -extern int __recvmsg (int, struct msghdr *, int); +extern int __syscall_recvmsg (int, struct msghdr *, int); int -recvmsg (fd, message, flags) +__libc_recvmsg (fd, message, flags) int fd; struct msghdr *message; int flags; @@ -61,7 +61,7 @@ recvmsg (fd, message, flags) } - ret = __recvmsg (fd, message, flags); + ret = __syscall_recvmsg (fd, message, flags); if (ret == -1) return ret; @@ -91,3 +91,6 @@ recvmsg (fd, message, flags) } return ret; } + +weak_alias (__libc_recvmsg, __recvmsg) +weak_alias (__libc_recvmsg, recvmsg) |