projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uloop: Remove uloop_cancelled variable, it is not used anywhere
[project/libubox.git]
/
uloop.c
diff --git
a/uloop.c
b/uloop.c
index
c3d206a
..
9fedcce
100644
(file)
--- 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;
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];
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);
sigaction(SIGINT, &s, &old_sigint);
- if (!uloop_handle_sigchld)
- return;
-
if (add)
s.sa_handler = uloop_sigchld;
else
if (add)
s.sa_handler = uloop_sigchld;
else