summaryrefslogtreecommitdiffstats
path: root/lib/systemd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/systemd.c')
-rw-r--r--lib/systemd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/systemd.c b/lib/systemd.c
index 2238dc9f3..1c9a6f122 100644
--- a/lib/systemd.c
+++ b/lib/systemd.c
@@ -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)