summaryrefslogtreecommitdiff
path: root/src/basic/string-util.h
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2018-10-24 07:43:37 +0200
committerSven Eden <sven.eden@prydeworx.com>2018-11-08 08:02:57 +0100
commit3ab9309e18658e22c1322eef168871d26cd49fb3 (patch)
tree0bc4b954e1475b00ee962c46779fda824bb9488d /src/basic/string-util.h
parent00b618db56b496823d74a0cc61537138ad6cb367 (diff)
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 <sven.eden@prydeworx.com>
Diffstat (limited to 'src/basic/string-util.h')
-rw-r--r--src/basic/string-util.h2
1 files changed, 0 insertions, 2 deletions
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;