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:
authorMichel Stam <m.stam@fugro.nl>2014-10-13 18:14:27 +0400
committerJohn Crispin <blogic@openwrt.org>2014-10-12 15:21:17 +0400
commit213122a0830e1ba3a05013b5cb5d17c49af13282 (patch)
treea8310ed2b92793571fd58efb83508a10d75817b4 /uloop.c
parentbae6bd19f32e6b8b5578a71bdcd53f735d35f0d0 (diff)
uloop: Remove uloop_cancelled variable, it is not used anywhere
Signed-off-by: Michel Stam <m.stam@fugro.nl>
Diffstat (limited to 'uloop.c')
-rw-r--r--uloop.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/uloop.c b/uloop.c
index c3d206a..9fedcce 100644
--- a/uloop.c
+++ b/uloop.c
@@ -58,7 +58,6 @@ static struct list_head processes = LIST_HEAD_INIT(processes);
static int poll_fd = -1;
bool uloop_cancelled = false;
-bool uloop_handle_sigchld = true;
static bool do_sigchld = false;
static struct uloop_fd_event cur_fds[ULOOP_MAX_EVENTS];
@@ -575,9 +574,6 @@ static void uloop_setup_signals(bool add)
sigaction(SIGINT, &s, &old_sigint);
- if (!uloop_handle_sigchld)
- return;
-
if (add)
s.sa_handler = uloop_sigchld;
else