summaryrefslogtreecommitdiff
path: root/src/shared/utf8.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-09-18 11:52:14 -0400
committerDave Reisner <dreisner@archlinux.org>2013-09-19 11:49:03 -0400
commit7991ac34ab08421415b907e42775c5539a4a5bbb (patch)
tree91352e7b044e6073dc39d6daf1f55273784c89ff /src/shared/utf8.h
parent894a156de7cace3210a60c29cfa14934fdea41ea (diff)
shared/utf8: merge implementations, remove cruft
This unifies the utf8 handling code which was previously duplicated in udev and systemd.
Diffstat (limited to 'src/shared/utf8.h')
-rw-r--r--src/shared/utf8.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/utf8.h b/src/shared/utf8.h
index 7a5608c9ee..22e13461de 100644
--- a/src/shared/utf8.h
+++ b/src/shared/utf8.h
@@ -25,12 +25,11 @@
#include "macro.h"
-char *utf8_is_valid(const char *s) _pure_;
+const char *utf8_is_valid(const char *s) _pure_;
char *ascii_is_valid(const char *s) _pure_;
bool utf8_is_printable(const char* str, size_t length) _pure_;
-char *utf8_filter(const char *s);
char *ascii_filter(const char *s);
char *utf16_to_utf8(const void *s, size_t length);