projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
procd: Remove unnecessary memset calls.
[project/procd.git]
/
watchdog.h
diff --git
a/watchdog.h
b/watchdog.h
index
3c4a487
..
73c75d5
100644
(file)
--- a/
watchdog.h
+++ b/
watchdog.h
@@
-22,6
+22,8
@@
void watchdog_init(int preinit);
char* watchdog_fd(void);
int watchdog_timeout(int timeout);
int watchdog_frequency(int frequency);
char* watchdog_fd(void);
int watchdog_timeout(int timeout);
int watchdog_frequency(int frequency);
+void watchdog_set_magicclose(bool val);
+bool watchdog_get_magicclose(void);
void watchdog_set_stopped(bool val);
bool watchdog_get_stopped(void);
void watchdog_set_cloexec(bool val);
void watchdog_set_stopped(bool val);
bool watchdog_get_stopped(void);
void watchdog_set_cloexec(bool val);
@@
-46,6
+48,15
@@
static inline int watchdog_frequency(int frequency)
return 0;
}
return 0;
}
+static inline void watchdog_set_magicclose(bool val)
+{
+}
+
+static inline bool watchdog_get_magicclose(void)
+{
+ return false;
+}
+
static inline void watchdog_set_stopped(bool val)
{
}
static inline void watchdog_set_stopped(bool val)
{
}