diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/udev/sd-daemon.c | 2 | ||||
-rw-r--r-- | src/udev/sd-daemon.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/udev/sd-daemon.c b/src/udev/sd-daemon.c index 4801d2cd18..d87afb97ef 100644 --- a/src/udev/sd-daemon.c +++ b/src/udev/sd-daemon.c @@ -386,6 +386,7 @@ _sd_export_ int sd_is_socket_unix(int fd, int type, int listening, const char *p return 1; } +#if OBSOLETE _sd_export_ int sd_is_mq(int fd, const char *path) { #if !defined(__linux__) return 0; @@ -422,6 +423,7 @@ _sd_export_ int sd_is_mq(int fd, const char *path) { return 1; #endif } +#endif _sd_export_ int sd_notify(int unset_environment, const char *state) { #if defined(DISABLE_SYSTEMD) || !defined(__linux__) || !defined(SOCK_CLOEXEC) diff --git a/src/udev/sd-daemon.h b/src/udev/sd-daemon.h index fb7456d50f..7423b34438 100644 --- a/src/udev/sd-daemon.h +++ b/src/udev/sd-daemon.h @@ -187,7 +187,9 @@ int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t 0 otherwise. If path is NULL a message queue name check is not done. Returns a negative errno style error code on failure. */ +#if OBSOLETE int sd_is_mq(int fd, const char *path); +#endif /* Informs systemd about changed daemon state. This takes a number of |