diff options
author | N-R-K <nrk@disroot.org> | 2022-05-03 17:36:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 17:36:57 +0200 |
commit | 3a22e6a6c5ad10e8c5cb9abb3615d2a8867d63e9 (patch) | |
tree | 5a2e26fa1e6bd4b110c612054a6832275fced1f8 /commands.h | |
parent | 591be8cecfaef143824e76c73f7c586261297c9c (diff) | |
download | nsxiv-3a22e6a6c5ad10e8c5cb9abb3615d2a8867d63e9.tar.zst |
Declare every extern function/variable in `nsxiv.h` (#268)
with a couple exceptions as they cause too many -Wshadow warnings.
also moves the `extcmd_t` typedef on top for cosmetic purposes.
also enable `-Wmissing-prototypes` in the ci
Diffstat (limited to 'commands.h')
-rw-r--r-- | commands.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,7 @@ bool ct_scroll(arg_t); bool ct_drag_mark_image(arg_t); bool ct_select(arg_t); +#ifdef _MAPPINGS_CONFIG /* global */ #define g_change_gamma { cg_change_gamma, MODE_ALL } #define g_first { cg_first, MODE_ALL } @@ -88,4 +89,5 @@ bool ct_select(arg_t); #define t_drag_mark_image { ct_drag_mark_image, MODE_THUMB } #define t_select { ct_select, MODE_THUMB } +#endif /* _MAPPINGS_CONFIG */ #endif /* COMMANDS_H */ |