diff options
Diffstat (limited to 'src/lib/libc/net/send.c')
-rw-r--r-- | src/lib/libc/net/send.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libc/net/send.c b/src/lib/libc/net/send.c index 8a7cc74e2d..f28933369c 100644 --- a/src/lib/libc/net/send.c +++ b/src/lib/libc/net/send.c | |||
@@ -28,7 +28,7 @@ | |||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #if defined(LIBC_SCCS) && !defined(lint) | 30 | #if defined(LIBC_SCCS) && !defined(lint) |
31 | static char rcsid[] = "$OpenBSD: send.c,v 1.3 2003/06/02 20:18:36 millert Exp $"; | 31 | static char rcsid[] = "$OpenBSD: send.c,v 1.4 2005/03/25 13:24:12 otto Exp $"; |
32 | #endif /* LIBC_SCCS and not lint */ | 32 | #endif /* LIBC_SCCS and not lint */ |
33 | 33 | ||
34 | #include <sys/types.h> | 34 | #include <sys/types.h> |
@@ -37,10 +37,7 @@ static char rcsid[] = "$OpenBSD: send.c,v 1.3 2003/06/02 20:18:36 millert Exp $" | |||
37 | #include <stddef.h> | 37 | #include <stddef.h> |
38 | 38 | ||
39 | ssize_t | 39 | ssize_t |
40 | send(s, msg, len, flags) | 40 | send(int s, const void *msg, size_t len, int flags) |
41 | int s, flags; | ||
42 | size_t len; | ||
43 | const void *msg; | ||
44 | { | 41 | { |
45 | return (sendto(s, msg, len, flags, NULL, 0)); | 42 | return (sendto(s, msg, len, flags, NULL, 0)); |
46 | } | 43 | } |