summaryrefslogtreecommitdiff
path: root/src/udev/sd-daemon.h
diff options
context:
space:
mode:
authorRichard Yao <ryao@gentoo.org>2012-12-13 20:38:32 -0500
committerAnthony G. Basile <blueness@gentoo.org>2013-01-20 13:37:10 -0500
commit7c9974f31a10154b6c9c68b100dc62482c93a5b1 (patch)
treecabff00b42ed0bab0f98bdf9c8fb86be360d264d /src/udev/sd-daemon.h
parentebf12c2f32cc22480e0102a4aadcd44487f55ad2 (diff)
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 <ryao@gentoo.org> Signed-off-by: Anthony G. Basile <blueness@gentoo.org> temp
Diffstat (limited to 'src/udev/sd-daemon.h')
-rw-r--r--src/udev/sd-daemon.h2
1 files changed, 2 insertions, 0 deletions
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