summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/send.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2005-03-25 13:24:11 +0000
committerotto <otto@openbsd.org>2005-03-25 13:24:11 +0000
commitdb5b349cf7aa19c2b6169fbb65597f2e741714ab (patch)
tree3225f0ae035a80a4448da2c70fd7f41f085c275b /lib/libc/net/send.c
parentwhitespace (diff)
downloadwireguard-openbsd-db5b349cf7aa19c2b6169fbb65597f2e741714ab.tar.xz
wireguard-openbsd-db5b349cf7aa19c2b6169fbb65597f2e741714ab.zip
ansify. ok deraadt@ moritz@
Diffstat (limited to 'lib/libc/net/send.c')
-rw-r--r--lib/libc/net/send.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/net/send.c b/lib/libc/net/send.c
index 8a7cc74e2dd..f28933369c4 100644
--- a/lib/libc/net/send.c
+++ b/lib/libc/net/send.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: send.c,v 1.3 2003/06/02 20:18:36 millert Exp $";
+static char rcsid[] = "$OpenBSD: send.c,v 1.4 2005/03/25 13:24:12 otto Exp $";
#endif /* LIBC_SCCS and not lint */
#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 $"
#include <stddef.h>
ssize_t
-send(s, msg, len, flags)
- int s, flags;
- size_t len;
- const void *msg;
+send(int s, const void *msg, size_t len, int flags)
{
return (sendto(s, msg, len, flags, NULL, 0));
}