chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prep v222: Update build system:
[elogind.git]
/
src
/
shared
/
bus-util.c
diff --git
a/src/shared/bus-util.c
b/src/shared/bus-util.c
index d408e70ebc54845ab4b3de2c3875e03d94fb8a19..3674105ccc179a0a68c107c056bc8445f9c5a97a 100644
(file)
--- a/
src/shared/bus-util.c
+++ b/
src/shared/bus-util.c
@@
-2021,8
+2021,6
@@
int bus_path_decode_unique(const char *path, const char *prefix, char **ret_send
return 1;
}
-/// UNNEEDED by elogind
-#if 0
bool is_kdbus_wanted(void) {
_cleanup_free_ char *value = NULL;
#ifdef ENABLE_KDBUS
@@
-2056,4
+2054,3
@@
bool is_kdbus_available(void) {
return ioctl(fd, KDBUS_CMD_BUS_MAKE, &cmd) >= 0;
}
-#endif // 0