From f299e48a40c6bd214783148273315e19e3de00b1 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Tue, 15 Jan 2008 13:45:10 +0000 Subject: merge several *_alarm() functions into init_alarm() --- include/alarm.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'include/alarm.h') diff --git a/include/alarm.h b/include/alarm.h index c68e7f4..338968a 100644 --- a/include/alarm.h +++ b/include/alarm.h @@ -17,12 +17,9 @@ set_alarm_expiration(struct alarm_list *t, long tv_sec, long tv_usec) t->tv.tv_usec = tv_usec; } -void set_alarm_function(struct alarm_list *t, - void (*fcn)(struct alarm_list *a, void *data)); - -void set_alarm_data(struct alarm_list *t, void *data); - -void init_alarm(struct alarm_list *t); +void init_alarm(struct alarm_list *t, + void *data, + void (*fcn)(struct alarm_list *a, void *data)); void add_alarm(struct alarm_list *alarm); -- cgit v1.2.3