Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'uloop.h')
-rw-r--r--uloop.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/uloop.h b/uloop.h
index 5ab9a5f..36084f5 100644
--- a/uloop.h
+++ b/uloop.h
@@ -105,7 +105,11 @@ static inline void uloop_end(void)
}
int uloop_init(void);
-int uloop_run(void);
+int uloop_run_timeout(int timeout);
+static inline int uloop_run(void)
+{
+ return uloop_run_timeout(-1);
+}
void uloop_done(void);
#endif