diff options
author | koekeishiya <aasvi93@hotmail.com> | 2023-05-01 18:27:07 +0200 |
---|---|---|
committer | koekeishiya <aasvi93@hotmail.com> | 2023-05-01 18:27:07 +0200 |
commit | 18dd6a0418ddb8a03e91aed5d6e465e519d95ebd (patch) | |
tree | 735b72d52c8e5a076badbc3db81850a691791c58 /src/tokenize.h | |
parent | b659b90576cf88100b52ca6ab9270d84af7e579b (diff) | |
download | skhd-18dd6a0418ddb8a03e91aed5d6e465e519d95ebd.tar.gz skhd-18dd6a0418ddb8a03e91aed5d6e465e519d95ebd.zip |
cleanup, add service commands
Diffstat (limited to 'src/tokenize.h')
-rw-r--r-- | src/tokenize.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tokenize.h b/src/tokenize.h index 52d76fc..13d7001 100644 --- a/src/tokenize.h +++ b/src/tokenize.h @@ -1,9 +1,7 @@ #ifndef SKHD_TOKENIZE_H #define SKHD_TOKENIZE_H -#define global static - -global const char *modifier_flags_str[] = +static const char *modifier_flags_str[] = { "alt", "lalt", "ralt", "shift", "lshift", "rshift", @@ -12,7 +10,7 @@ global const char *modifier_flags_str[] = "fn", "hyper", "meh", }; -global const char *literal_keycode_str[] = +static const char *literal_keycode_str[] = { "return", "tab", "space", "backspace", "escape", "delete", @@ -33,8 +31,6 @@ global const char *literal_keycode_str[] = "brightness_down", "illumination_up", "illumination_down" }; -#undef global - enum token_type { Token_Identifier, |