summaryrefslogtreecommitdiff
path: root/socket/getpeername.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket/getpeername.c')
-rw-r--r--socket/getpeername.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/socket/getpeername.c b/socket/getpeername.c
index d3425bbe40..5784cc5bc2 100644
--- a/socket/getpeername.c
+++ b/socket/getpeername.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
@@ -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;