From 91a9c994c63828fcbd1efdb24a78f6d9db5b323b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 30 Dec 2014 02:48:16 +0100 Subject: misc: Attempt to fix compiler warnings 'sighup_hdlr' defined but not used [-Wunused-function] --- src/application.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/application.c b/src/application.c index 79cc68a1..1eee4877 100644 --- a/src/application.c +++ b/src/application.c @@ -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) -- cgit v1.2.3