mirror of https://gerrit.osmocom.org/libosmocore
misc: Attempt to fix compiler warnings
'sighup_hdlr' defined but not used [-Wunused-function]
This commit is contained in:
parent
7711ef73f3
commit
91a9c994c6
|
@ -72,10 +72,12 @@
|
|||
|
||||
struct log_target *osmo_stderr_target;
|
||||
|
||||
#ifdef SIGHUP
|
||||
static void sighup_hdlr(int signal)
|
||||
{
|
||||
log_targets_reopen();
|
||||
}
|
||||
#endif
|
||||
|
||||
/*! \brief Ignore \ref SIGPIPE, \ref SIGALRM, \ref SIGHUP and \ref SIGIO */
|
||||
void osmo_init_ignore_signals(void)
|
||||
|
|
Loading…
Reference in New Issue