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/rpc_prot.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/rpc_prot.c')
-rw-r--r-- | lib/libc/rpc/rpc_prot.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/rpc/rpc_prot.c b/lib/libc/rpc/rpc_prot.c index 20dc8fa..71a3630 100644 --- a/lib/libc/rpc/rpc_prot.c +++ b/lib/libc/rpc/rpc_prot.c @@ -279,9 +279,7 @@ accepted(acpt_stat, error) } static void -rejected(rjct_stat, error) - enum reject_stat rjct_stat; - struct rpc_err *error; +rejected(enum reject_stat rjct_stat, struct rpc_err *error) { assert(error != NULL); @@ -306,9 +304,7 @@ rejected(rjct_stat, error) * given a reply message, fills in the error */ void -_seterr_reply(msg, error) - struct rpc_msg *msg; - struct rpc_err *error; +_seterr_reply(struct rpc_msg *msg, struct rpc_err *error) { assert(msg != NULL); |