summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/rpc_prot.c
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-09-22 15:40:07 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-09-22 15:40:07 +0000
commit5200f4be667a336fb2b90bdad8b6dab5d0979aa6 (patch)
tree2e8901f302dad25f0bd647f68a1d6c9423986c96 /lib/libc/rpc/rpc_prot.c
parent3fa0d9942f4943ada80c76279fcfd99262c878c6 (diff)
downloadFreeBSD-src-5200f4be667a336fb2b90bdad8b6dab5d0979aa6.zip
FreeBSD-src-5200f4be667a336fb2b90bdad8b6dab5d0979aa6.tar.gz
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.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/rpc/rpc_prot.c b/lib/libc/rpc/rpc_prot.c
index d4fdd90..53fc70a 100644
--- a/lib/libc/rpc/rpc_prot.c
+++ b/lib/libc/rpc/rpc_prot.c
@@ -265,9 +265,7 @@ accepted(enum accept_stat acpt_stat, struct rpc_err *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);
@@ -292,9 +290,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);
OpenPOWER on IntegriCloud