aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-04-24 15:53:49 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-04-24 15:53:49 +0000
commitbd22d268d36c94d3806890a0713697ccd1e1f796 (patch)
treeb14795f39382327fbbdd9d61024765d13c28fb9e
parent7b043ce598649e54b9e752a670f6dd9c20391210 (diff)
downloadsrc-bd22d268d36c94d3806890a0713697ccd1e1f796.tar.gz
src-bd22d268d36c94d3806890a0713697ccd1e1f796.zip
rpc.umntall: Use valid prototype for function declaration with no arguments.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39728
-rw-r--r--usr.sbin/rpc.umntall/rpc.umntall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/rpc.umntall/rpc.umntall.c b/usr.sbin/rpc.umntall/rpc.umntall.c
index 74df093e6d18..1ee5c6a7eb41 100644
--- a/usr.sbin/rpc.umntall/rpc.umntall.c
+++ b/usr.sbin/rpc.umntall/rpc.umntall.c
@@ -261,7 +261,8 @@ xdr_dir(XDR *xdrsp, char *dirp) {
}
static void
-usage() {
+usage(void)
+{
(void)fprintf(stderr, "%s\n",
"usage: rpc.umntall [-kv] [-e expire] [-h host] [-p path]");
exit(1);