diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-07 16:09:49 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-07 16:09:49 +0000 |
commit | 53b5f21c9c453ff74c9aabdecd166a5e6ddb202b (patch) | |
tree | 7e94f2193471512a521b3675b28a27b829a43707 /libc/inet/socketcalls.c | |
parent | 746d0019f275acc0d3752b54e8ae1930a2f5fa3c (diff) |
Hide more
Diffstat (limited to 'libc/inet/socketcalls.c')
-rw-r--r-- | libc/inet/socketcalls.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/inet/socketcalls.c b/libc/inet/socketcalls.c index 2215d2d99..1dbffa3d1 100644 --- a/libc/inet/socketcalls.c +++ b/libc/inet/socketcalls.c @@ -98,9 +98,11 @@ int getpeername(int sockfd, struct sockaddr *addr, socklen_t * paddrlen) #ifdef L_getsockname #ifdef __NR_getsockname -_syscall3(int, getsockname, int, sockfd, struct sockaddr *, addr, socklen_t *,paddrlen); +#define __NR___getsockname __NR_getsockname +attribute_hidden _syscall3(int, __getsockname, int, sockfd, struct sockaddr *, addr, socklen_t *,paddrlen); +strong_alias(__getsockname,getsockname) #elif defined(__NR_socketcall) -int getsockname(int sockfd, struct sockaddr *addr, socklen_t * paddrlen) +int attribute_hidden __getsockname(int sockfd, struct sockaddr *addr, socklen_t * paddrlen) { unsigned long args[3]; @@ -109,6 +111,7 @@ int getsockname(int sockfd, struct sockaddr *addr, socklen_t * paddrlen) args[2] = (unsigned long) paddrlen; return __socketcall(SYS_GETSOCKNAME, args); } +strong_alias(__getsockname,getsockname) #endif #endif |