summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/timer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/timer.c b/src/timer.c
index c8376c8a..21b7015e 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -23,9 +23,6 @@
*
*/
-/* These store the amount of time that we wait until next timer expires. */
-static struct timeval nearest;
-static struct timeval *nearest_p;
/*! \addtogroup timer
* @{
@@ -41,6 +38,10 @@ static struct timeval *nearest_p;
#include <osmocom/core/timer_compat.h>
#include <osmocom/core/linuxlist.h>
+/* These store the amount of time that we wait until next timer expires. */
+static struct timeval nearest;
+static struct timeval *nearest_p;
+
static struct rb_root timer_root = RB_ROOT;
static void __add_timer(struct osmo_timer_list *timer)