aboutsummaryrefslogtreecommitdiff
path: root/socket/getsockname.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket/getsockname.c')
-rw-r--r--socket/getsockname.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/socket/getsockname.c b/socket/getsockname.c
index 47e1838..4d6fac9 100644
--- a/socket/getsockname.c
+++ b/socket/getsockname.c
@@ -20,10 +20,7 @@
/* Put the local address of FD into *ADDR and its length in *LEN. */
int
-__getsockname (fd, addr, len)
- int fd;
- __SOCKADDR_ARG addr;
- socklen_t *len;
+__getsockname (int fd, __SOCKADDR_ARG addr, socklen_t *len)
{
__set_errno (ENOSYS);
return -1;