aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkoekeishiya <aasvi93@hotmail.com>2017-09-12 10:28:55 +0200
committerkoekeishiya <aasvi93@hotmail.com>2017-09-12 10:28:55 +0200
commit08348763d2cc95aa54612134d0593db081bbb21e (patch)
tree096ce29faf0c6e06a4478dead07773f1a12c134f /src
parent751086af2afdabc2d45c40e34508dd457d69397f (diff)
downloadskhd-08348763d2cc95aa54612134d0593db081bbb21e.tar.gz
skhd-08348763d2cc95aa54612134d0593db081bbb21e.zip
remove inline specifier
Diffstat (limited to 'src')
-rw-r--r--src/hotkey.c3
-rw-r--r--src/hotkey.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/hotkey.c b/src/hotkey.c
index 1267ea3..8e3949b 100644
--- a/src/hotkey.c
+++ b/src/hotkey.c
@@ -86,8 +86,7 @@ compare_ctrl(struct hotkey *a, struct hotkey *b)
}
}
-internal inline bool
-same_hotkey(struct hotkey *a, struct hotkey *b)
+bool same_hotkey(struct hotkey *a, struct hotkey *b)
{
if(a && b) {
return compare_cmd(a, b) &&
diff --git a/src/hotkey.h b/src/hotkey.h
index 614665d..b4d864d 100644
--- a/src/hotkey.h
+++ b/src/hotkey.h
@@ -71,6 +71,9 @@ clear_flags(struct hotkey *hotkey, uint32_t flag)
hotkey->flags &= ~flag;
}
+bool same_hotkey(struct hotkey *a, struct hotkey *b);
+unsigned long hash_hotkey(struct hotkey *a);
+
bool find_and_exec_hotkey(struct hotkey *eventkey, struct table *hotkey_map);
void cgeventflags_to_hotkeyflags(CGEventFlags flags, struct hotkey *eventkey);