From cc9f21da2218d95567eff1501482ce58e6600f54 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 22 Feb 2022 19:04:25 -0500 Subject: *: Change thread->func to return void instead of int The int return value is never used. Modify the code base to just return a void instead. Signed-off-by: Donald Sharp --- lib/systemd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/systemd.c') diff --git a/lib/systemd.c b/lib/systemd.c index 2238dc9f3d..1c9a6f122e 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) -- cgit v1.2.3