X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Fsendchar.h;h=7a64d00c7f7aade309906eb737f411c5a227835b;hb=382eaebd3db595d8c4943f293d765e6b66a7e695;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