diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-08-16 19:47:17 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-08-16 19:47:17 +0000 |
commit | 4397bc8b7063b3115b1cf0adc8f1c395832d35fa (patch) | |
tree | 36324953b46b685287417fe713752f3b1b8fc1da /socket | |
parent | 30d1c15022a20aa78d5d9a5e874f467f8fab5e1a (diff) |
(getpeername): Correct type of len argument.
Diffstat (limited to 'socket')
-rw-r--r-- | socket/sys/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/socket/sys/socket.h b/socket/sys/socket.h index 0a1102ada9..f2f912a94e 100644 --- a/socket/sys/socket.h +++ b/socket/sys/socket.h @@ -113,7 +113,7 @@ extern int connect __P ((int __fd, /* Put the address of the peer connected to socket FD into *ADDR (which is *LEN bytes long), and its actual length into *LEN. */ extern int getpeername __P ((int __fd, __SOCKADDR_ARG __addr, - size_t *__len)); + socklen_t *__len)); /* Send N bytes of BUF to socket FD. Returns the number sent or -1. */ |