summaryrefslogtreecommitdiff
path: root/common/host.h
diff options
context:
space:
mode:
authortmk2012-09-04 14:24:52 +0900
committertmk2012-09-04 14:24:52 +0900
commitdc79a8521946a3a2e5b86945b8043b87a8b8d78c (patch)
tree737827112555c00a7f2ebbb88e61079c460be71a /common/host.h
parent7350b7c6aa300a234244c264b10d1732803c27df (diff)
parent232ab308e358e41f3253d66fa009c1ebca0951a2 (diff)
Merge branch 'usb_hid'
Diffstat (limited to 'common/host.h')
-rw-r--r--common/host.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/host.h b/common/host.h
index 11b9aacd7..26bf3c362 100644
--- a/common/host.h
+++ b/common/host.h
@@ -23,6 +23,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "host_driver.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef NKRO_ENABLE
extern bool keyboard_nkro;
#endif
@@ -54,4 +58,8 @@ void host_mouse_send(report_mouse_t *report);
void host_system_send(uint16_t data);
void host_consumer_send(uint16_t data);
+#ifdef __cplusplus
+}
+#endif
+
#endif