From 9d5b333fb6e548aa2a9cda9094ad7e96e3eb33f7 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 20 Nov 2023 17:21:48 +0100 Subject: src|tests: Address warning -Wstrict-prototypes Symptom with Clang 15: > In file included from userinfo.c:20: > ./userinfo.h:38:27: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] > void invalidate_user_cache(); /* safe to call from signal handler */ > ^ > void > [many more] --- src/permchain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/permchain.h') diff --git a/src/permchain.h b/src/permchain.h index 0f268f0..aad66f2 100644 --- a/src/permchain.h +++ b/src/permchain.h @@ -36,7 +36,7 @@ struct permchain; -struct permchain *permchain_create(); +struct permchain *permchain_create(void); /* Parses chmod arguments like 0777, a=rX, og-rwx etc. Multiple rules may be given, separated with commas or colons. -- cgit v1.2.3