summaryrefslogtreecommitdiff
path: root/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'events.h')
-rw-r--r--events.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/events.h b/events.h
index b80cd75..ef8dccc 100644
--- a/events.h
+++ b/events.h
@@ -38,7 +38,7 @@ enum event_type {
void events_watch_fd(struct events *events, int fd, enum event_type type,
void(*callback)(void *), void *priv);
-void events_unwatch_fd(struct events *events, int fd);
+void events_unwatch_fd(struct events *events, int fd, enum event_type type);
bool events_loop(struct events *events);
void events_stop(struct events *events);