diff options
author | NRK <nrk@disroot.org> | 2022-10-27 02:14:53 +0600 |
---|---|---|
committer | drkhsh <me@drkhsh.at> | 2022-10-26 23:32:07 +0200 |
commit | 28ef0b242c32e8ae8b4df2b4b380e30bf581130f (patch) | |
tree | 2d415abf274f910a09059afaadcc6c146aa1b7a4 /components/keymap.c | |
parent | f29aa9ab0656c938ad0c0d4a6136ff25bd82ebf9 (diff) | |
download | slstatus-28ef0b242c32e8ae8b4df2b4b380e30bf581130f.tar.gz |
components/*.c: include slstatus.h
this gives the compiler a chance to check weather the prototype and
definiton matches or not, which would catch issues like 3c47701.
Diffstat (limited to 'components/keymap.c')
-rw-r--r-- | components/keymap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/keymap.c b/components/keymap.c index ddf7a15..87036db 100644 --- a/components/keymap.c +++ b/components/keymap.c @@ -6,6 +6,7 @@ #include <X11/Xlib.h> #include "../util.h" +#include "../slstatus.h" static int valid_layout_or_variant(char *sym) |