]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/systemd.c
Merge pull request #10953 from leonshaw/fix/bgp-rm-leak
[mirror_frr.git] / lib / systemd.c
index 2238dc9f3da6d759a97c1b89f3737ffc9800ba5f..1c9a6f122e1652e4ea174b0f1f5a20ce4309591a 100644 (file)
@@ -80,14 +80,13 @@ void systemd_send_stopping(void)
 
 static struct thread_master *systemd_master = NULL;
 
-static int systemd_send_watchdog(struct thread *t)
+static void systemd_send_watchdog(struct thread *t)
 {
        systemd_send_information("WATCHDOG=1");
 
        assert(watchdog_msec > 0);
        thread_add_timer_msec(systemd_master, systemd_send_watchdog, NULL,
                              watchdog_msec, NULL);
-       return 1;
 }
 
 void systemd_send_started(struct thread_master *m)