aboutsummaryrefslogtreecommitdiff
path: root/include/salticidae/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/salticidae/event.h')
-rw-r--r--include/salticidae/event.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/salticidae/event.h b/include/salticidae/event.h
index c82d54f..c54b69d 100644
--- a/include/salticidae/event.h
+++ b/include/salticidae/event.h
@@ -686,9 +686,9 @@ sigev_t *sigev_new(const eventcontext_t *ec, sigev_callback_t cb);
void sigev_free(sigev_t *self);
void sigev_add(sigev_t *self, int sig);
-typedef void (*timerev_callback_t)(timerev_t *);
-timerev_t *timerev_new(const eventcontext_t *ec, timerev_callback_t callback);
-void timerev_set_callback(timerev_t *self, timerev_callback_t callback);
+typedef void (*timerev_callback_t)(timerev_t *, void *);
+timerev_t *timerev_new(const eventcontext_t *ec, timerev_callback_t callback, void *);
+void timerev_set_callback(timerev_t *self, timerev_callback_t callback, void *);
void timerev_free(timerev_t *self);
void timerev_add(timerev_t *self, double t_sec);
void timerev_del(timerev_t *self);