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.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/udev/sd-daemon.h') 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 -- cgit v1.2.3-54-g00ecf