diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libelogind/sd-daemon/sd-daemon.c | 3 | ||||
-rw-r--r-- | src/libsystemd/libsystemd.sym | 2 | ||||
-rw-r--r-- | src/systemd/sd-daemon.h | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/src/libelogind/sd-daemon/sd-daemon.c b/src/libelogind/sd-daemon/sd-daemon.c index d230a48da..9a696cd22 100644 --- a/src/libelogind/sd-daemon/sd-daemon.c +++ b/src/libelogind/sd-daemon/sd-daemon.c @@ -307,6 +307,8 @@ _public_ int sd_is_socket_unix(int fd, int type, int listening, const char *path return 1; } +/// UNNEEDED by elogind +#if 0 _public_ int sd_is_mq(int fd, const char *path) { struct mq_attr attr; @@ -337,6 +339,7 @@ _public_ int sd_is_mq(int fd, const char *path) { return 1; } +#endif // 0 _public_ int sd_pid_notify_with_fds(pid_t pid, int unset_environment, const char *state, const int *fds, unsigned n_fds) { union sockaddr_union sockaddr = { diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/libsystemd.sym index d5ad127bc..b4e52dd37 100644 --- a/src/libsystemd/libsystemd.sym +++ b/src/libsystemd/libsystemd.sym @@ -66,7 +66,7 @@ global: /* sd-daemon */ sd_booted; sd_is_fifo; - sd_is_mq; + /* sd_is_mq; */ sd_is_socket; sd_is_socket_inet; sd_is_socket_unix; diff --git a/src/systemd/sd-daemon.h b/src/systemd/sd-daemon.h index 861dc8f1f..1f093f3ca 100644 --- a/src/systemd/sd-daemon.h +++ b/src/systemd/sd-daemon.h @@ -154,7 +154,7 @@ int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t See sd_is_mq(3) for more information. */ -int sd_is_mq(int fd, const char *path); +/// UNNEEDED int sd_is_mq(int fd, const char *path); /* Informs systemd about changed daemon state. This takes a number of |