summaryrefslogtreecommitdiff
path: root/include/rtthread.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2013-03-26 08:52:33 +0800
committerBernard Xiong <[email protected]>2013-03-26 08:52:33 +0800
commitbb72be94b204d2cb4dfc85d8e08f5c57583d73dd (patch)
tree029dd4951e22f107f08df68df3f62050272e5420 /include/rtthread.h
parent17ab3fcdba8c2b6ce20b0bb3b326cb4b8ea17dc5 (diff)
code cleanup for interrupt description
Diffstat (limited to 'include/rtthread.h')
-rw-r--r--include/rtthread.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/rtthread.h b/include/rtthread.h
index dbe48b492e..be43f36ec9 100644
--- a/include/rtthread.h
+++ b/include/rtthread.h
@@ -425,15 +425,6 @@ void rt_module_unload_sethook(void (*hook)(rt_module_t module));
/*
* interrupt service
*/
-typedef void (*rt_isr_handler_t)(int vector, void *param);
-
-struct rt_irq_desc {
- char irq_name[RT_NAME_MAX];
- rt_isr_handler_t isr_handle;
- void *param;
- rt_uint32_t interrupt_cnt;
-};
-
/*
* rt_interrupt_enter and rt_interrupt_leave only can be called by BSP