summaryrefslogtreecommitdiff
path: root/src/basic/utf8.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-07-30 17:08:39 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-08-17 19:48:32 +0200
commit618727dae5ee7eb18e42be3d520496da3431e70a (patch)
treea01517138a4426662f908410e749077f332a46c2 /src/basic/utf8.h
parent9a485918db2522c02173df2980a1146d3693d5c1 (diff)
downloadsystemd-618727dae5ee7eb18e42be3d520496da3431e70a.tar.gz
basic/utf8: rename parameter
Every time I was using this function I had to check whether "newline" means that newlines are good or bad.
Diffstat (limited to 'src/basic/utf8.h')
-rw-r--r--src/basic/utf8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/utf8.h b/src/basic/utf8.h
index 62e99b7280..52b487955b 100644
--- a/src/basic/utf8.h
+++ b/src/basic/utf8.h
@@ -18,7 +18,7 @@ char *utf8_is_valid(const char *s) _pure_;
char *ascii_is_valid(const char *s) _pure_;
char *ascii_is_valid_n(const char *str, size_t len);
-bool utf8_is_printable_newline(const char* str, size_t length, bool newline) _pure_;
+bool utf8_is_printable_newline(const char* str, size_t length, bool allow_newline) _pure_;
#define utf8_is_printable(str, length) utf8_is_printable_newline(str, length, true)
char *utf8_escape_invalid(const char *s);