switch from typeof to the more portable __typeof__
[project/libubox.git] / uloop.h
diff --git a/uloop.h b/uloop.h
index 756451405381015cb02f390ad43298ec02ae1ef8..5ab9a5f1196f8525111baeca8e5880edbc32b31f 100644 (file)
--- a/uloop.h
+++ b/uloop.h
@@ -97,13 +97,15 @@ int uloop_timeout_remaining(struct uloop_timeout *timeout);
 int uloop_process_add(struct uloop_process *p);
 int uloop_process_delete(struct uloop_process *p);
 
+bool uloop_cancelling(void);
+
 static inline void uloop_end(void)
 {
        uloop_cancelled = true;
 }
 
 int uloop_init(void);
-void uloop_run(void);
+int uloop_run(void);
 void uloop_done(void);
 
 #endif