Age | Commit message (Collapse) | Author | Lines |
|
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]
|
|
The fix is a near 1:1 copy of what add_chmod_rule_to_permchain
already does about the same problem.
Symptom was:
> src/permchain.c: In function ‘add_octal_rule_to_permchain’:
> src/permchain.c:151:71: error: unused parameter ‘end’ [-Werror=unused-parameter]
> 151 | static int add_octal_rule_to_permchain(const char *start, const char *end,
> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reduce holes in struct permchain by appropriately sizing and
reordering members.
|
|
|