diff options
Diffstat (limited to 'kernel/features/event.c')
-rw-r--r-- | kernel/features/event.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/features/event.c b/kernel/features/event.c index 1aa0cd0..633f633 100644 --- a/kernel/features/event.c +++ b/kernel/features/event.c @@ -10,7 +10,7 @@ struct list *event_table[] = { [EVENT_KEYBOARD] = NULL, [EVENT_MOUSE] = NULL }; -u32 event_register(enum message_type id, struct proc *proc) +u32 event_register(u32 id, struct proc *proc) { assert(id < sizeof(event_table) / sizeof(*event_table)); @@ -25,7 +25,7 @@ u32 event_register(enum message_type id, struct proc *proc) return 0; } -void event_unregister(enum message_type id, struct proc *proc) +void event_unregister(u32 id, struct proc *proc) { assert(id < sizeof(event_table) / sizeof(*event_table)); @@ -42,7 +42,7 @@ void event_unregister(enum message_type id, struct proc *proc) } } -u32 event_trigger(enum message_type id, void *data) +u32 event_trigger(u32 id, void *data) { assert(id < sizeof(event_table) / sizeof(*event_table)); |