git: bd22d268d36c - main - rpc.umntall: Use valid prototype for function declaration with no arguments.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 24 Apr 2023 15:54:09 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=bd22d268d36c94d3806890a0713697ccd1e1f796

commit bd22d268d36c94d3806890a0713697ccd1e1f796
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-04-24 15:53:49 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-04-24 15:53:49 +0000

    rpc.umntall: Use valid prototype for function declaration with no arguments.
    
    Reviewed by:    emaste
    Differential Revision:  https://reviews.freebsd.org/D39728
---
 usr.sbin/rpc.umntall/rpc.umntall.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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);