diff options
author | Franck Bui <fbui@suse.com> | 2021-09-06 12:12:06 +0200 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2021-09-15 10:56:26 +0200 |
commit | 2628b98f0ca511a0d454940399aeaae156d16eeb (patch) | |
tree | 145b8ee5943c3f5d6737baf73496d3c9fd64599c /src/shared/watchdog.h | |
parent | ae4a0ec45c97024387f150305ada14c9117116f4 (diff) | |
download | systemd-2628b98f0ca511a0d454940399aeaae156d16eeb.tar.gz |
core: watchdog_set_timeout() doesn't need to return the timeout value used by the HW
The manager currently doesn't need it and if it does in the future an helper
should probably be introduced instead.
Diffstat (limited to 'src/shared/watchdog.h')
-rw-r--r-- | src/shared/watchdog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/watchdog.h b/src/shared/watchdog.h index b7587db3ab..08be44fd18 100644 --- a/src/shared/watchdog.h +++ b/src/shared/watchdog.h @@ -7,7 +7,7 @@ #include "util.h" int watchdog_set_device(char *path); -int watchdog_set_timeout(usec_t *usec); +int watchdog_set_timeout(usec_t timeout); int watchdog_ping(void); void watchdog_close(bool disarm); usec_t watchdog_runtime_wait(void); |