summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/recv.c
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-09-20 21:21:01 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-09-20 21:21:01 +0000
commit4dfb6c3572b83ea3e8bebf716589664f3f9067dd (patch)
tree1ab7c8f43d0c31c080f66ad90616e85b20e247e9 /lib/libc/net/recv.c
parent6fac89c875e96c44e3b0b7b6b4ee42bbc9cbf8ed (diff)
downloadFreeBSD-src-4dfb6c3572b83ea3e8bebf716589664f3f9067dd.zip
FreeBSD-src-4dfb6c3572b83ea3e8bebf716589664f3f9067dd.tar.gz
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Diffstat (limited to 'lib/libc/net/recv.c')
-rw-r--r--lib/libc/net/recv.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/net/recv.c b/lib/libc/net/recv.c
index 6a584ca..68d3ce5 100644
--- a/lib/libc/net/recv.c
+++ b/lib/libc/net/recv.c
@@ -40,10 +40,7 @@ __FBSDID("$FreeBSD$");
#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)
{
/*
* POSIX says recv() shall be a cancellation point, so call the
OpenPOWER on IntegriCloud