summaryrefslogtreecommitdiff
path: root/src/user/include/knob/key.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/include/knob/key.h')
-rw-r--r--src/user/include/knob/key.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/user/include/knob/key.h b/src/user/include/knob/key.h
index 90509fc..d532afd 100644
--- a/src/user/include/knob/key.h
+++ b/src/user/include/knob/key.h
@@ -1,8 +1,16 @@
#ifndef KNOB_KEY_H
#define KNOB_KEY_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <keypack.h>
char key_to_char(struct key_packet kp) __attribute__ ((pure));
+#ifdef __cplusplus
+}
+#endif
+
#endif \ No newline at end of file