summaryrefslogtreecommitdiff
path: root/core/host/irq_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/host/irq_handler.h')
-rw-r--r--core/host/irq_handler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/host/irq_handler.h b/core/host/irq_handler.h
index 9ff5d9979c..f905f463c1 100644
--- a/core/host/irq_handler.h
+++ b/core/host/irq_handler.h
@@ -16,6 +16,7 @@
* ensure it is enabled in the interrupt controller with the right priority.
*/
#define DECLARE_IRQ(irq, routine, priority) \
+ void routine(void); \
void IRQ_HANDLER(irq)(void) \
{ \
void *ret = __builtin_return_address(0); \