summaryrefslogtreecommitdiff
path: root/src/basic/string-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-07 19:43:26 +0100
committerSven Eden <yamakuzure@gmx.net>2017-05-17 15:22:15 +0200
commit07de3e94bec7f426258007c4a790a78589d2fee3 (patch)
tree6ab081e34b12627c200540962f4b01d0a9a977eb /src/basic/string-util.h
parentd7ef73f05df04d2b6d59932fd3d21f155665a888 (diff)
basic: introduce generic ascii_strlower_n() call and make use of it everywhere
Diffstat (limited to 'src/basic/string-util.h')
-rw-r--r--src/basic/string-util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/basic/string-util.h b/src/basic/string-util.h
index 54f9d3058..8b87c1e23 100644
--- a/src/basic/string-util.h
+++ b/src/basic/string-util.h
@@ -128,7 +128,9 @@ char *strstrip(char *s);
char *delete_chars(char *s, const char *bad);
char *truncate_nl(char *s);
-char *ascii_strlower(char *path);
+char ascii_tolower(char x);
+char *ascii_strlower(char *s);
+char *ascii_strlower_n(char *s, size_t n);
bool chars_intersect(const char *a, const char *b) _pure_;