diff options
Diffstat (limited to 'pimd/pim_signals.c')
-rw-r--r-- | pimd/pim_signals.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/pimd/pim_signals.c b/pimd/pim_signals.c index bd4d9e485..053ef6a67 100644 --- a/pimd/pim_signals.c +++ b/pimd/pim_signals.c @@ -55,10 +55,10 @@ static void pim_sigterm() static void pim_sigusr1() { - zlog_rotate (NULL); + zlog_rotate(); } -static struct quagga_signal_t pimd_signals[] = +struct quagga_signal_t pimd_signals[] = { { .signal = SIGHUP, @@ -77,9 +77,3 @@ static struct quagga_signal_t pimd_signals[] = .handler = &pim_sigterm, }, }; - -void pim_signals_init() -{ - signal_init(master, array_size(pimd_signals), pimd_signals); -} - |