summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/recv.c')
-rw-r--r--lib/libc/net/recv.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/net/recv.c b/lib/libc/net/recv.c
index 09474653772..981b5e7a6ae 100644
--- a/lib/libc/net/recv.c
+++ b/lib/libc/net/recv.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: recv.c,v 1.3 2003/06/02 20:18:35 millert Exp $";
+static char rcsid[] = "$OpenBSD: recv.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: recv.c,v 1.3 2003/06/02 20:18:35 millert Exp $"
#include <stddef.h>
ssize_t
-recv(s, buf, len, flags)
- int s, flags;
- size_t len;
- void *buf;
+recv(int s, void *buf, size_t len, int flags)
{
return (recvfrom(s, buf, len, flags, NULL, 0));
}