summaryrefslogtreecommitdiff
path: root/socket/getsockname.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket/getsockname.c')
-rw-r--r--socket/getsockname.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/socket/getsockname.c b/socket/getsockname.c
index 47e1838aa7..ed7b2ff8e7 100644
--- a/socket/getsockname.c
+++ b/socket/getsockname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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;