summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/send.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/send.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/send.c')
-rw-r--r--lib/libc/net/send.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/net/send.c b/lib/libc/net/send.c
index c44f4b9..ff98436 100644
--- a/lib/libc/net/send.c
+++ b/lib/libc/net/send.c
@@ -40,10 +40,7 @@ __FBSDID("$FreeBSD$");
#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)
{
/*
* POSIX says send() shall be a cancellation point, so call the
OpenPOWER on IntegriCloud