aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/getsockname.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/getsockname.c')
-rw-r--r--sysdeps/mach/hurd/getsockname.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/getsockname.c b/sysdeps/mach/hurd/getsockname.c
index 4c26b6bd58..f0dd63567e 100644
--- a/sysdeps/mach/hurd/getsockname.c
+++ b/sysdeps/mach/hurd/getsockname.c
@@ -24,10 +24,7 @@
/* Put the local address of FD into *ADDR and its length in *LEN. */
int
-__getsockname (fd, addrarg, len)
- int fd;
- __SOCKADDR_ARG addrarg;
- socklen_t *len;
+__getsockname (int fd, __SOCKADDR_ARG addrarg, socklen_t *len)
{
error_t err;
struct sockaddr *addr = addrarg.__sockaddr__;