aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rtadvd/timer.h')
-rw-r--r--usr.sbin/rtadvd/timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rtadvd/timer.h b/usr.sbin/rtadvd/timer.h
index 3baf0d09b41c..2eebf150faa2 100644
--- a/usr.sbin/rtadvd/timer.h
+++ b/usr.sbin/rtadvd/timer.h
@@ -46,14 +46,14 @@ struct rtadvd_timer {
struct rainfo *rai;
struct timeval tm;
- void (*expire) __P((void *)); /* expiration function */
+ struct rtadvd_timer *(*expire) __P((void *)); /* expiration function */
void *expire_data;
void (*update) __P((void *, struct timeval *)); /* update function */
void *update_data;
};
void rtadvd_timer_init __P((void));
-struct rtadvd_timer *rtadvd_add_timer __P((void (*) __P((void *)),
+struct rtadvd_timer *rtadvd_add_timer __P((struct rtadvd_timer *(*) __P((void *)),
void (*) __P((void *, struct timeval *)), void *, void *));
void rtadvd_set_timer __P((struct timeval *, struct rtadvd_timer *));
void rtadvd_remove_timer __P((struct rtadvd_timer **));