From 2f490723a2e673b2457f65c4b06cacb7d700a3e8 Mon Sep 17 00:00:00 2001 From: otto <> Date: Fri, 25 Mar 2005 13:24:12 +0000 Subject: ansify. ok deraadt@ moritz@ --- src/lib/libc/net/send.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/lib/libc/net/send.c') 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 @@ */ #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 @@ -37,10 +37,7 @@ static char rcsid[] = "$OpenBSD: send.c,v 1.3 2003/06/02 20:18:36 millert Exp $" #include 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)); } -- cgit v1.2.3-55-g6feb