From 77c22f57cdc964f4ca88f5d6f9560317a3b9f1d1 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 27 Sep 2022 10:07:08 -0400 Subject: Fix more function prototypes regex.c:545:43: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] struct trans_func *libnfsidmap_plugin_init() ^ void See: 167f2336b06e1bcbf26f45f2ddc4a535fed4d393 Signed-off-by: Sam James Signed-off-by: Steve Dickson --- utils/idmapd/idmapd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/idmapd/idmapd.c b/utils/idmapd/idmapd.c index e79c124..cd9a965 100644 --- a/utils/idmapd/idmapd.c +++ b/utils/idmapd/idmapd.c @@ -867,7 +867,7 @@ nfsdreopen_one(struct idmap_client *ic) } static void -nfsdreopen() +nfsdreopen(void) { nfsdreopen_one(&nfsd_ic[IC_NAMEID]); nfsdreopen_one(&nfsd_ic[IC_IDNAME]); -- cgit v1.2.1