summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/usb_keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sbc_harness/usb_keyboard.h')
-rw-r--r--cmd/sbc_harness/usb_keyboard.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/cmd/sbc_harness/usb_keyboard.h b/cmd/sbc_harness/usb_keyboard.h
index 8eba062..d946ff6 100644
--- a/cmd/sbc_harness/usb_keyboard.h
+++ b/cmd/sbc_harness/usb_keyboard.h
@@ -7,9 +7,12 @@
#ifndef _USB_KEYBOARD_H_
#define _USB_KEYBOARD_H_
-#include <libcr_ipc/rpc.h>
+#include <stdint.h> /* for uint32_t */
-typedef cr_rpc_t(uint32_t, int) usb_keyboard_rpc_t;
+#include <libcr/coroutine.h> /* for COROUTINE */
+#include <libcr_ipc/rpc.h> /* for CR_RPC_DECLARE */
+
+CR_RPC_DECLARE(usb_keyboard_rpc, uint32_t, int)
void usb_keyboard_init(void);
COROUTINE usb_keyboard_cr(void *arg);