diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2023-11-20 17:21:48 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2023-11-20 18:36:08 +0100 |
commit | 9d5b333fb6e548aa2a9cda9094ad7e96e3eb33f7 (patch) | |
tree | 014d5a8d1de974ee2e07b9db67477df8d3a0adfb /src/usermap.h | |
parent | 9cc4a6928da3931d0d7d6afad4489384cb21de23 (diff) | |
download | bindfs-9d5b333fb6e548aa2a9cda9094ad7e96e3eb33f7.tar.gz |
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]
Diffstat (limited to 'src/usermap.h')
-rw-r--r-- | src/usermap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usermap.h b/src/usermap.h index 9c1387e..db2a9c3 100644 --- a/src/usermap.h +++ b/src/usermap.h @@ -37,7 +37,7 @@ typedef enum UsermapStatus { usermap_status_duplicate_key = 1 } UsermapStatus; -UserMap *usermap_create(); +UserMap *usermap_create(void); void usermap_destroy(UserMap *map); UsermapStatus usermap_add_uid(UserMap *map, uid_t from, uid_t to); |