* gotsigchild and onsigchild are unused
@ 2016-10-27 17:54 Denys Vlasenko
0 siblings, 0 replies; only message in thread
From: Denys Vlasenko @ 2016-10-27 17:54 UTC (permalink / raw)
To: Herbert Xu, dash
This function and variable are not used anywhere:
#ifdef SYSV
STATIC int onsigchild(void);
#endif
...
...
#ifdef SYSV
STATIC int gotsigchild;
STATIC int onsigchild() {
gotsigchild = 1;
}
#endif
Note that there is a very similarly named "gotsigchld"
(without "i" in "chld") variable.
That one *is not* unused.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-27 17:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-27 17:54 gotsigchild and onsigchild are unused Denys Vlasenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).