diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:25:28 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:25:28 +0000 |
commit | d2c37ac50bb64d6383c3396af34d7c9209611737 (patch) | |
tree | f054d01a57b8a51a5ef9e0a4e6320f73fca3fdb1 /usr.bin/showmount | |
parent | 7b333c32e3291b2555abfce8ecf98d4523be7d22 (diff) | |
download | FreeBSD-src-d2c37ac50bb64d6383c3396af34d7c9209611737.zip FreeBSD-src-d2c37ac50bb64d6383c3396af34d7c9209611737.tar.gz |
Warns cleanups. This makes the showmount code warns clean, but some
of the rpc headers aren't.
Diffstat (limited to 'usr.bin/showmount')
-rw-r--r-- | usr.bin/showmount/showmount.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/showmount/showmount.c b/usr.bin/showmount/showmount.c index 93d6cf5..e163c48 100644 --- a/usr.bin/showmount/showmount.c +++ b/usr.bin/showmount/showmount.c @@ -99,7 +99,7 @@ void print_dump __P((struct mountlist *)); static void usage __P((void)); int xdr_mntdump __P((XDR *, struct mountlist **)); int xdr_exports __P((XDR *, struct exportslist **)); -int tcp_callrpc __P((char *host, +int tcp_callrpc __P((const char *host, int prognum, int versnum, int procnum, xdrproc_t inproc, char *in, xdrproc_t outproc, char *out)); @@ -120,7 +120,7 @@ main(argc, argv) register struct grouplist *grp; register int rpcs = 0, mntvers = 1; char ch; - char *host; + const char *host; int estat; while ((ch = getopt(argc, argv, "ade3")) != -1) @@ -217,7 +217,7 @@ main(argc, argv) */ int tcp_callrpc(host, prognum, versnum, procnum, inproc, in, outproc, out) - char *host; + const char *host; int prognum; int versnum; int procnum; |