summaryrefslogtreecommitdiffstats
path: root/nuttx/include/nuttx/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/nuttx/irq.h')
-rw-r--r--nuttx/include/nuttx/irq.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/nuttx/include/nuttx/irq.h b/nuttx/include/nuttx/irq.h
index e1b1c5a65c..0e29e2476f 100644
--- a/nuttx/include/nuttx/irq.h
+++ b/nuttx/include/nuttx/irq.h
@@ -60,11 +60,9 @@
/* This struct defines the way the registers are stored */
#ifndef __ASSEMBLY__
-struct xcptcontext; /* forward reference */
-
-typedef int (*xcpt_t)(int irq, struct xcptcontext *xcp);
+typedef int (*xcpt_t)(int irq, void *context);
typedef int (*swint_t)(uint32 code, uint32 parm2, uint32 parm3,
- struct xcptcontext *xcp);
+ void *context);
#endif
/* Now include architecture-specific types */