aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-08-17 13:52:51 +0200
committerMarvin Borner2020-08-17 13:52:51 +0200
commitca7d400b7705ba887df69391cb774d4de83e8bf3 (patch)
treea59b97c9405413d1cb01e05c3f0c760554cecc5c /kernel/inc
parent0ba9ee15d0a229c619f35a5db04e45fe8861c3c9 (diff)
Added event unmap
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/event.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/inc/event.h b/kernel/inc/event.h
index f4025b4..e40b345 100644
--- a/kernel/inc/event.h
+++ b/kernel/inc/event.h
@@ -6,7 +6,8 @@
#include <def.h>
#include <sys.h>
-u32 event_map(enum event id, u32 (*function)());
+u32 event_map(enum event id, u32 *func);
+void event_unmap(enum event id, u32 *func);
u32 event_trigger(enum event id, u32 *data);
#endif