diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-01-19 14:05:12 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-03-14 10:23:02 +0100 |
commit | bec1345672f400faca26c4d231c0b6a7360801ed (patch) | |
tree | 16365809d429f37d0f170d0af96d3e4564af991b /src/libelogind/sd-daemon/sd-daemon.c | |
parent | b514d6c9dcc7c0d7353f975ecfb94f2197c73cf1 (diff) |
Remove sd_is_mq
* src/systemd/sd-daemon.h:
* src/libelogind/sd-daemon/sd-daemon.c (sd_is_mq): Remove unused
function that depended on librt. Ultimately we should remove this
header at some point.
Diffstat (limited to 'src/libelogind/sd-daemon/sd-daemon.c')
-rw-r--r-- | src/libelogind/sd-daemon/sd-daemon.c | 3 |
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 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 = { |