diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 20:50:56 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 20:50:56 +0000 |
commit | a9a0375d7ebdf75260b171e5593ef852e91f72f1 (patch) | |
tree | 7e496eb2b7160a510b285c9a7c319defec765770 /lib/libc/inet/inet_neta.c | |
parent | aa990038b120588303adfe133366fe481675c5ab (diff) | |
download | FreeBSD-src-a9a0375d7ebdf75260b171e5593ef852e91f72f1.zip FreeBSD-src-a9a0375d7ebdf75260b171e5593ef852e91f72f1.tar.gz |
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Diffstat (limited to 'lib/libc/inet/inet_neta.c')
-rw-r--r-- | lib/libc/inet/inet_neta.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/inet/inet_neta.c b/lib/libc/inet/inet_neta.c index 01ad3be..06a1bdb 100644 --- a/lib/libc/inet/inet_neta.c +++ b/lib/libc/inet/inet_neta.c @@ -52,10 +52,7 @@ __FBSDID("$FreeBSD$"); * Paul Vixie (ISC), July 1996 */ char * -inet_neta(src, dst, size) - in_addr_t src; - char *dst; - size_t size; +inet_neta(in_addr_t src, char *dst, size_t size) { char *odst = dst; char *tp; |