summaryrefslogtreecommitdiff
path: root/common/keyboard.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-08-25 15:49:08 +0900
committertmk <nobody@nowhere>2012-08-28 21:56:15 +0900
commitc5060ea81942b0e3f8577536ff78402a19abe3d3 (patch)
treebcdd4cd269be3064982014b0afdc0aea628d7048 /common/keyboard.h
parent9382bf2f765cfbb8f7a9a48157391cac2bb71780 (diff)
test build of 'Host shield' in minimal env.
Diffstat (limited to 'common/keyboard.h')
-rw-r--r--common/keyboard.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/keyboard.h b/common/keyboard.h
index 988dac36ed..51bf67379a 100644
--- a/common/keyboard.h
+++ b/common/keyboard.h
@@ -21,8 +21,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
void keyboard_init(void);
void keyboard_proc(void);
void keyboard_set_leds(uint8_t leds);
+#ifdef __cplusplus
+}
+#endif
#endif