summaryrefslogtreecommitdiff
path: root/src/libelogind/sd-daemon/sd-daemon.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-07-19 00:56:25 +0200
committerSven Eden <yamakuzure@gmx.net>2017-07-19 13:04:57 +0200
commita97a730270418e53e9400de5dce7b07c7dacd19a (patch)
treebac97ceff71bef555a8612f90d2a746189592791 /src/libelogind/sd-daemon/sd-daemon.c
parentb6e675bcef8c3dca1292269795c795195ea6d1e7 (diff)
Prep v233.3: Unmask various functions for future coverage tests.
These functions, although not used by elogind itself, are mostly tiny and crucial for important tests to work.
Diffstat (limited to 'src/libelogind/sd-daemon/sd-daemon.c')
-rw-r--r--src/libelogind/sd-daemon/sd-daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libelogind/sd-daemon/sd-daemon.c b/src/libelogind/sd-daemon/sd-daemon.c
index 3e66092b1..26a0a7e52 100644
--- a/src/libelogind/sd-daemon/sd-daemon.c
+++ b/src/libelogind/sd-daemon/sd-daemon.c
@@ -35,7 +35,7 @@
#include "alloc-util.h"
#include "fd-util.h"
-//#include "fs-util.h"
+#include "fs-util.h"
#include "parse-util.h"
#include "path-util.h"
#include "socket-util.h"
@@ -631,6 +631,7 @@ _public_ int sd_notifyf(int unset_environment, const char *format, ...) {
return sd_pid_notify(0, unset_environment, p);
}
+#endif // 0
_public_ int sd_booted(void) {
/* We test whether the runtime unit file directory has been
@@ -639,7 +640,6 @@ _public_ int sd_booted(void) {
return laccess("/run/systemd/system/", F_OK) >= 0;
}
-#endif // 0
_public_ int sd_watchdog_enabled(int unset_environment, uint64_t *usec) {
const char *s, *p = ""; /* p is set to dummy value to do unsetting */