misc: Attempt to fix compiler warnings

'sighup_hdlr' defined but not used [-Wunused-function]
This commit is contained in:
Holger Hans Peter Freyther 2014-12-30 02:48:16 +01:00
parent 7711ef73f3
commit 91a9c994c6
1 changed files with 2 additions and 0 deletions

View File

@ -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)