projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e68cdf
)
watchdog: fix inline watchdog_get_magicclose function prototype
author
Hans Dedecker
<dedeckeh@gmail.com>
Tue, 8 Aug 2017 07:49:26 +0000
(09:49 +0200)
committer
Hans Dedecker
<dedeckeh@gmail.com>
Tue, 8 Aug 2017 09:31:10 +0000
(11:31 +0200)
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>
watchdog.h
patch
|
blob
|
history
diff --git
a/watchdog.h
b/watchdog.h
index d63343c162d68e65b811fc10422ee85cf97677df..466818f0a036bacd7ab761487daf9bc002c287ec 100644
(file)
--- a/
watchdog.h
+++ b/
watchdog.h
@@
-50,8
+50,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)