X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Faction_util.h;h=a955638b46d8ad84c45c297b2a5f431f506aa85a;hb=e4b95410416d98f9d9753a1ce21846256de7c8fa;hp=f9d3161a800200be9b808c2a799e4f930107e095;hpb=f3132adb33fd38e8d9d49845809ad5cb89f9c9c1;p=max%2Ftmk_keyboard.git
diff --git a/common/action_util.h b/common/action_util.h
index f9d3161a..a955638b 100644
--- a/common/action_util.h
+++ b/common/action_util.h
@@ -20,6 +20,10 @@ along with this program. If not, see .
#include
#include "report.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern report_keyboard_t *keyboard_report;
void send_keyboard_report(void);
@@ -54,4 +58,9 @@ void oneshot_disable(void);
uint8_t has_anykey(void);
uint8_t has_anymod(void);
uint8_t get_first_key(void);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif