commit | 91a9c994c63828fcbd1efdb24a78f6d9db5b323b | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Tue Dec 30 02:48:16 2014 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Tue Dec 30 02:48:16 2014 +0100 |
tree | 13a1e81397c303cfe5fb4e3ac611a24684e16d6f | |
parent | 7711ef73f32c1eaaa20b4fd5ba1a7b3d9bdcd25d [diff] |
misc: Attempt to fix compiler warnings 'sighup_hdlr' defined but not used [-Wunused-function]
diff --git a/src/application.c b/src/application.c index 79cc68a..1eee487 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)