summaryrefslogtreecommitdiffstats
path: root/lib/librpcsvc/rwall.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-02-26 20:32:11 +0000
committered <ed@FreeBSD.org>2009-02-26 20:32:11 +0000
commitffab68620f121460586af38654ee5be9efaa11f3 (patch)
tree2b79d2949beb316192954f2c483d67d0b2383b8a /lib/librpcsvc/rwall.c
parentab39654e319d3fec6d8c5e3907ffc143827025b6 (diff)
downloadFreeBSD-src-ffab68620f121460586af38654ee5be9efaa11f3.zip
FreeBSD-src-ffab68620f121460586af38654ee5be9efaa11f3.tar.gz
Use ANSI function declarations in librpcsvc.
When compiling librpcsvc with LLVM, we get a compiler error, because hexval() uses an ANSI prototype, but a K&R declaration. I could have just changed hexval(), but I'd rather keep this consistent. It's not that much code. Submitted by: Pawel Worach <pawel worach gmail com>
Diffstat (limited to 'lib/librpcsvc/rwall.c')
-rw-r--r--lib/librpcsvc/rwall.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/librpcsvc/rwall.c b/lib/librpcsvc/rwall.c
index dd7b590..d53f264 100644
--- a/lib/librpcsvc/rwall.c
+++ b/lib/librpcsvc/rwall.c
@@ -46,9 +46,7 @@ static char sccsid[] = "@(#)rwall.c 1.2 91/03/11 TIRPC 1.0; from 1.3 89/03/24 S
#include <rpcsvc/rwall.h>
int
-rwall(host, msg)
- char *host;
- char *msg;
+rwall(char *host, char *msg)
{
return (callrpc(host, WALLPROG, WALLVERS, WALLPROC_WALL,
(xdrproc_t)xdr_wrapstring, (char *) &msg,
OpenPOWER on IntegriCloud