summaryrefslogtreecommitdiff
path: root/src/libelogind/sd-daemon/sd-daemon.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-04-09 20:56:14 +0200
committerSven Eden <yamakuzure@gmx.net>2017-04-09 21:13:09 +0200
commit2e694aaeec158dba9dc12d8eea1755e201830a81 (patch)
tree8453d35922593686ea4312ea22579abbbf8c0b48 /src/libelogind/sd-daemon/sd-daemon.c
parent59047c572d1f8d9153a6c06fac8a866ddcf30260 (diff)
Prep v227: Clean up some headers in src/systemd
- src/systemd/sd-bus.h - src/systemd/sd-daemon.h - src/systemd/sd-event.h
Diffstat (limited to 'src/libelogind/sd-daemon/sd-daemon.c')
-rw-r--r--src/libelogind/sd-daemon/sd-daemon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libelogind/sd-daemon/sd-daemon.c b/src/libelogind/sd-daemon/sd-daemon.c
index c6224f8c7..b26ecf26d 100644
--- a/src/libelogind/sd-daemon/sd-daemon.c
+++ b/src/libelogind/sd-daemon/sd-daemon.c
@@ -513,9 +513,12 @@ finish:
return r;
}
+/// UNNEEDED by elogind
+#if 0
_public_ int sd_pid_notify(pid_t pid, int unset_environment, const char *state) {
return sd_pid_notify_with_fds(pid, unset_environment, state, NULL, 0);
}
+#endif // 0
_public_ int sd_notify(int unset_environment, const char *state) {
return sd_pid_notify_with_fds(0, unset_environment, state, NULL, 0);