summaryrefslogtreecommitdiff
path: root/src/basic/string-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/string-util.h')
-rw-r--r--src/basic/string-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/string-util.h b/src/basic/string-util.h
index 38c7c1009..e8c2fc6dd 100644
--- a/src/basic/string-util.h
+++ b/src/basic/string-util.h
@@ -66,11 +66,11 @@ static inline bool isempty(const char *p) {
return !p || !p[0];
}
-#if 0 /// UNNEEDED by elogind
static inline const char *empty_to_null(const char *p) {
return isempty(p) ? NULL : p;
}
+#if 0 /// UNNEEDED by elogind
static inline const char *strdash_if_empty(const char *str) {
return isempty(str) ? "-" : str;
}