diff options
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -15,6 +15,7 @@ #include "common.h" #include "breakpoint.h" +#include "proc.h" Process * open_program(char *filename, pid_t pid, int enable) { @@ -292,7 +293,7 @@ remove_process(Process *proc) } void -install_event_handler(Process * proc, Event_Handler * handler) +install_event_handler(Process *proc, struct event_handler *handler) { debug(DEBUG_FUNCTION, "install_event_handler(pid=%d, %p)", proc->pid, handler); assert(proc->event_handler == NULL); @@ -302,7 +303,7 @@ install_event_handler(Process * proc, Event_Handler * handler) void destroy_event_handler(Process * proc) { - Event_Handler * handler = proc->event_handler; + struct event_handler *handler = proc->event_handler; debug(DEBUG_FUNCTION, "destroy_event_handler(pid=%d, %p)", proc->pid, handler); assert(handler != NULL); if (handler->destroy != NULL) |