diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2015-09-20 20:50:56 +0000 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2015-09-20 20:50:56 +0000 |
commit | 060e5496fc388fc6c9f2f377050f69f8e8cd15b0 (patch) | |
tree | 7e496eb2b7160a510b285c9a7c319defec765770 /lib/libc/inet/inet_network.c | |
parent | c83f3fc4b411f589e5aa3643f167294f9c35c3a5 (diff) | |
download | src-060e5496fc388fc6c9f2f377050f69f8e8cd15b0.tar.gz src-060e5496fc388fc6c9f2f377050f69f8e8cd15b0.zip |
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Notes
Notes:
svn path=/head/; revision=288038
Diffstat (limited to 'lib/libc/inet/inet_network.c')
-rw-r--r-- | lib/libc/inet/inet_network.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/inet/inet_network.c b/lib/libc/inet/inet_network.c index 254db41acb2d..b5b9190ac184 100644 --- a/lib/libc/inet/inet_network.c +++ b/lib/libc/inet/inet_network.c @@ -48,8 +48,7 @@ __FBSDID("$FreeBSD$"); * network numbers. */ in_addr_t -inet_network(cp) - const char *cp; +inet_network(const char *cp) { in_addr_t val, base, n; char c; |