diff options
Diffstat (limited to 'src/synthesize.c')
-rw-r--r-- | src/synthesize.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/synthesize.c b/src/synthesize.c index 6eddd6f..0279f3d 100644 --- a/src/synthesize.c +++ b/src/synthesize.c @@ -5,18 +5,16 @@ #include "parse.h" #include "hotkey.h" -#define internal static - #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated" -internal inline void +static inline void create_and_post_keyevent(uint16_t key, bool pressed) { CGPostKeyboardEvent((CGCharCode)0, (CGKeyCode)key, pressed); } -internal inline void +static inline void synthesize_modifiers(struct hotkey *hotkey, bool pressed) { if (has_flags(hotkey, Hotkey_Flag_Alt)) { |