summaryrefslogtreecommitdiff
path: root/src/basic/string-util.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-07-07 11:33:14 +0200
committerSven Eden <yamakuzure@gmx.net>2017-07-07 11:33:14 +0200
commita683e1878913969ccf8b0defdec4d955e15ed75a (patch)
tree2235c8eb4dc831669b0e87afca174c9f5361fdb1 /src/basic/string-util.c
parentd737e05d865c11ee3eea63b3ea836da9e2938065 (diff)
Prep v232.2: Mask more unneeded functions
Diffstat (limited to 'src/basic/string-util.c')
-rw-r--r--src/basic/string-util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/string-util.c b/src/basic/string-util.c
index 6b06e643c..ebe146b03 100644
--- a/src/basic/string-util.c
+++ b/src/basic/string-util.c
@@ -292,6 +292,7 @@ char *strstrip(char *s) {
return s;
}
+#if 0 /// UNNEEDED by elogind
char *delete_chars(char *s, const char *bad) {
char *f, *t;
@@ -308,6 +309,7 @@ char *delete_chars(char *s, const char *bad) {
return s;
}
+#endif // 0
char *truncate_nl(char *s) {
assert(s);
@@ -316,6 +318,7 @@ char *truncate_nl(char *s) {
return s;
}
+#if 0 /// UNNEEDED by elogind
char ascii_tolower(char x) {
if (x >= 'A' && x <= 'Z')
@@ -406,6 +409,7 @@ bool chars_intersect(const char *a, const char *b) {
return false;
}
+#endif // 0
bool string_has_cc(const char *p, const char *ok) {
const char *t;