X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=inline;f=common%2Fsendchar.h;h=7a64d00c7f7aade309906eb737f411c5a227835b;hb=98052b8afd52c93e2d5a1e6acd6afd6e6d2a288c;hp=7c81303c7a4fe0054145c2896af3b75f4eb1a39b;hpb=f4125707399d11a7d80587659c464b9bcddb8c56;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