diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-08-08 09:49:26 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-08-08 11:27:01 +0200 |
commit | a17e1e8ec121602dc1fec7a24cbc8e7534c74a01 (patch) | |
tree | 935fcbd61abc72001849d4bf8972375096260164 /watchdog.h | |
parent | f062b305b5ea2c77bb8286f8982f08e4c5b133ae (diff) | |
download | procd-a17e1e8ec121602dc1fec7a24cbc8e7534c74a01.tar.gz |
watchdog: fix inline watchdog_get_magicclose function prototype
Fix procd compilation issue which occurs when DISABLE_INIT is set as the
inline watchdog_get_magicclose function prototype was wrong.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'watchdog.h')
-rw-r--r-- | watchdog.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -52,8 +52,9 @@ static inline void watchdog_set_magicclose(bool val) { } -static inline void watchdog_get_magicclose(bool val) +static inline bool watchdog_get_magicclose(void) { + return false; } static inline void watchdog_set_stopped(bool val) |