diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-16 16:54:48 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-16 16:54:48 +0000 |
commit | a1f7fbd5f53192a896e7d45f475e378b82ed55a2 (patch) | |
tree | 7a0332159b905a090d2dd9c65aa311374d05413a | |
parent | f87f0bfdbc3d12fc1d5cc6b1e00a0160de74a34b (diff) |
sendto(2) takes socklen_t for length param
-rw-r--r-- | sys/sys/socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/socket.h b/sys/sys/socket.h index 27f497f4521..fed666300db 100644 --- a/sys/sys/socket.h +++ b/sys/sys/socket.h @@ -1,4 +1,4 @@ -/* $OpenBSD: socket.h,v 1.24 1999/02/15 19:27:49 millert Exp $ */ +/* $OpenBSD: socket.h,v 1.25 1999/02/16 16:54:47 millert Exp $ */ /* $NetBSD: socket.h,v 1.14 1996/02/09 18:25:36 christos Exp $ */ /* @@ -382,7 +382,7 @@ ssize_t recvfrom __P((int, void *, size_t, int, struct sockaddr *, socklen_t *)) ssize_t recvmsg __P((int, struct msghdr *, int)); ssize_t send __P((int, const void *, size_t, int)); ssize_t sendto __P((int, const void *, - size_t, int, const struct sockaddr *, int)); + size_t, int, const struct sockaddr *, socklen_t)); ssize_t sendmsg __P((int, const struct msghdr *, int)); int setsockopt __P((int, int, int, const void *, socklen_t)); int shutdown __P((int, int)); |