From 5200f4be667a336fb2b90bdad8b6dab5d0979aa6 Mon Sep 17 00:00:00 2001 From: rodrigc Date: Tue, 22 Sep 2015 15:40:07 +0000 Subject: Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. --- lib/libc/rpc/rpc_callmsg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/libc/rpc/rpc_callmsg.c') diff --git a/lib/libc/rpc/rpc_callmsg.c b/lib/libc/rpc/rpc_callmsg.c index 5b7ea49..0e29e09 100644 --- a/lib/libc/rpc/rpc_callmsg.c +++ b/lib/libc/rpc/rpc_callmsg.c @@ -54,9 +54,7 @@ __FBSDID("$FreeBSD$"); * XDR a call message */ bool_t -xdr_callmsg(xdrs, cmsg) - XDR *xdrs; - struct rpc_msg *cmsg; +xdr_callmsg(XDR *xdrs, struct rpc_msg *cmsg) { enum msg_type *prm_direction; int32_t *buf; -- cgit v1.1