From 3ab9309e18658e22c1322eef168871d26cd49fb3 Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Wed, 24 Oct 2018 07:43:37 +0200 Subject: Prep v240 : Add busctl to be shipped with elogind. (emersion): > sd-bus is shipped with elogind, so it makes sense to ship the > busctl command, too. This is not only a nice helper tool to take a closer look at what is happening on the dbus, it will also prove to be usefull if something like issue #59 happens ever again. There we had to use dbus-send directly to dissect the bus traffic. Bug: #86 Closes: #86 Signed-off-by: Sven Eden --- src/basic/string-util.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/basic/string-util.h') diff --git a/src/basic/string-util.h b/src/basic/string-util.h index 61d0d037c..f0f73dd47 100644 --- a/src/basic/string-util.h +++ b/src/basic/string-util.h @@ -52,11 +52,9 @@ static inline const char *empty_to_null(const char *p) { return isempty(p) ? NULL : p; } -#if 0 /// UNNEEDED by elogind static inline const char *empty_to_dash(const char *str) { return isempty(str) ? "-" : str; } -#endif // 0 static inline char *startswith(const char *s, const char *prefix) { size_t l; -- cgit v1.2.3