]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - common/action_util.h
Port action_* to mbed
[tmk_firmware.git] / common / action_util.h
index f9d3161a800200be9b808c2a799e4f930107e095..a955638b46d8ad84c45c297b2a5f431f506aa85a 100644 (file)
@@ -20,6 +20,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include <stdint.h>
 #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