From 7c9974f31a10154b6c9c68b100dc62482c93a5b1 Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Thu, 13 Dec 2012 20:38:32 -0500 Subject: Comment out sd_is_mq() sd_is_mq() calls mq_getattr, which requires -lrt on systems using uclibc. Ordinarily, I would write an autotools check to handle this, but we do not use this code for anything, so I am commenting it out until a decision on the fate of this code is made. Signed-off-by: Richard Yao Signed-off-by: Anthony G. Basile temp --- src/udev/sd-daemon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/udev/sd-daemon.c') 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) -- cgit v1.2.3-54-g00ecf