From cf935d97ae479e7a1e1f2f2f248b93e52e4cc69e Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 21 Jan 2023 03:21:17 +1100 Subject: Fix functions with empty params (#19647) * Fix functions with empty params * Found a bunch more --- users/talljoe/macros.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'users/talljoe/macros.c') diff --git a/users/talljoe/macros.c b/users/talljoe/macros.c index e9c9b521b7..1afc1ef7f6 100644 --- a/users/talljoe/macros.c +++ b/users/talljoe/macros.c @@ -29,9 +29,9 @@ ostype_t get_os() { #define MOD_SEND(KEY) (IS_OSX() ? SEND_STRING(SS_LCMD(KEY)) : SEND_STRING(SS_LCTL(KEY))) -void macro_copy() { MOD_SEND("c"); } -void macro_paste() { MOD_SEND("v"); } -void macro_lock() { +void macro_copy(void) { MOD_SEND("c"); } +void macro_paste(void) { MOD_SEND("v"); } +void macro_lock(void) { if (IS_OSX()) { SEND_STRING(SS_LCTL(SS_LCMD("q"))); } else { -- cgit v1.2.3