X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Fsendchar.h;h=7a64d00c7f7aade309906eb737f411c5a227835b;hb=738baccb8fdcb4fd7e4a2ae08fe92a63710be433;hp=7c81303c7a4fe0054145c2896af3b75f4eb1a39b;hpb=62d1ebb91c7b381ce3d88aad9ee0b03bea9fce26;p=tmk_firmware.git
diff --git a/common/sendchar.h b/common/sendchar.h
index 7c81303..7a64d00 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