diff options
author | ngie <ngie@FreeBSD.org> | 2016-12-03 17:27:28 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-12-03 17:27:28 +0000 |
commit | 7ad09ff71a567bdfdff6996f7b64c4367bd44f17 (patch) | |
tree | cf0c55f84b3ac69dff3cea1412c4716f480fc407 /lib/libc/rpc/getrpcent.c | |
parent | de9c1e498c9083787fed20b89b77dce7f67d668e (diff) | |
download | FreeBSD-src-7ad09ff71a567bdfdff6996f7b64c4367bd44f17.zip FreeBSD-src-7ad09ff71a567bdfdff6996f7b64c4367bd44f17.tar.gz |
MFC r288113:
r288113 (by rodrigc):
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Diffstat (limited to 'lib/libc/rpc/getrpcent.c')
-rw-r--r-- | lib/libc/rpc/getrpcent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/getrpcent.c b/lib/libc/rpc/getrpcent.c index 54c403e..3f80522 100644 --- a/lib/libc/rpc/getrpcent.c +++ b/lib/libc/rpc/getrpcent.c @@ -991,7 +991,7 @@ getrpcbynumber(int number) } struct rpcent * -getrpcent() +getrpcent(void) { union key key; @@ -1025,7 +1025,7 @@ setrpcent(int stayopen) } void -endrpcent() +endrpcent(void) { #ifdef NS_CACHING static const nss_cache_info cache_info = NS_MP_CACHE_INFO_INITIALIZER( |