diff options
Diffstat (limited to 'kernel/inc/event.h')
-rw-r--r-- | kernel/inc/event.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/inc/event.h b/kernel/inc/event.h index 89c3e56..59a0df1 100644 --- a/kernel/inc/event.h +++ b/kernel/inc/event.h @@ -8,12 +8,12 @@ #include <sys.h> struct event_descriptor { - enum message_type id; + u32 id; struct proc *proc; }; -u32 event_register(enum message_type id, struct proc *proc); -void event_unregister(enum message_type id, struct proc *proc); -u32 event_trigger(enum message_type id, void *data); +u32 event_register(u32 id, struct proc *proc); +void event_unregister(u32 id, struct proc *proc); +u32 event_trigger(u32 id, void *data); #endif |