summaryrefslogtreecommitdiffstats
path: root/lib/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/event.h')
-rw-r--r--lib/event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/event.h b/lib/event.h
index 0b1ea84..0856fbb 100644
--- a/lib/event.h
+++ b/lib/event.h
@@ -13,7 +13,7 @@
typedef struct event {
resource r;
- void (*hook)(void *);
+ int (*hook)(void *);
void *data;
node n; /* Internal link */
} event;