X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=common%2Fsendchar.h;h=7a64d00c7f7aade309906eb737f411c5a227835b;hb=92b0674a7f7923f8efbe3bac1b5b8a410c5756cf;hp=7c81303c7a4fe0054145c2896af3b75f4eb1a39b;hpb=62d1ebb91c7b381ce3d88aad9ee0b03bea9fce26;p=max%2Ftmk_keyboard.git
diff --git a/common/sendchar.h b/common/sendchar.h
index 7c81303c..7a64d00c 100644
--- a/common/sendchar.h
+++ b/common/sendchar.h
@@ -21,7 +21,15 @@ along with this program. If not, see .
#include
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* transmit a character. return 0 on success, -1 on error. */
int8_t sendchar(uint8_t c);
+#ifdef __cplusplus
+}
+#endif
+
#endif