uloop: make first_timeout static
[project/libubox.git] / uloop.c
diff --git a/uloop.c b/uloop.c
index 4be5f45..568dcd6 100644 (file)
--- a/uloop.c
+++ b/uloop.c
@@ -46,7 +46,7 @@
 #endif
 #define ULOOP_MAX_EVENTS 10
 
-struct uloop_timeout *first_timeout;
+static struct uloop_timeout *first_timeout;
 static int poll_fd;
 bool uloop_cancelled = false;
 
@@ -368,11 +368,6 @@ static void uloop_process_timeouts(struct timeval *tv)
        }
 }
 
-void uloop_end(void)
-{
-       uloop_cancelled = true;
-}
-
 void uloop_run(void)
 {
        struct timeval tv;