From ccc6aa0a17952f8dacc0edd60de8e5aa11e2df60 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 8 Nov 2005 21:10:50 +0000 Subject: [PATCH] main_get_timer() made public. --- lib/mainloop.c | 2 +- lib/mainloop.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/mainloop.c b/lib/mainloop.c index 57e73742..7986944e 100644 --- a/lib/mainloop.c +++ b/lib/mainloop.c @@ -34,7 +34,7 @@ static uns main_poll_table_obsolete, main_poll_table_size; static struct pollfd *main_poll_table; static uns main_sigchld_set_up; -static void +void main_get_time(void) { struct timeval tv; diff --git a/lib/mainloop.h b/lib/mainloop.h index 434f639b..1e1adf38 100644 --- a/lib/mainloop.h +++ b/lib/mainloop.h @@ -29,6 +29,8 @@ struct main_timer { void timer_add(struct main_timer *tm, timestamp_t expires); /* Can modify a running timer, too */ void timer_del(struct main_timer *tm); +void main_get_time(void); /* Refresh main_now */ + /* Files to poll */ struct main_file { -- 2.39.2