aboutsummaryrefslogtreecommitdiff
path: root/socket/getpeername.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket/getpeername.c')
-rw-r--r--socket/getpeername.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/socket/getpeername.c b/socket/getpeername.c
index d3425bb..43adc68 100644
--- a/socket/getpeername.c
+++ b/socket/getpeername.c
@@ -21,10 +21,7 @@
/* Put the address of the peer connected to socket FD into *ADDR
(which is *LEN bytes long), and its actual length into *LEN. */
int
-getpeername (fd, addr, len)
- int fd;
- __SOCKADDR_ARG addr;
- socklen_t *len;
+getpeername (int fd, __SOCKADDR_ARG addr, socklen_t *len)
{
__set_errno (ENOSYS);
return -1;