summaryrefslogtreecommitdiffstats
path: root/src/pulse/utf8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse/utf8.h')
-rw-r--r--src/pulse/utf8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/utf8.h b/src/pulse/utf8.h
index ff8dc215..1e08047c 100644
--- a/src/pulse/utf8.h
+++ b/src/pulse/utf8.h
@@ -34,7 +34,7 @@
PA_C_DECL_BEGIN
/** Test if the specified strings qualifies as valid UTF8. Return the string if so, otherwise NULL */
-const char *pa_utf8_valid(const char *str);
+char *pa_utf8_valid(const char *str) PA_GCC_PURE;
/** Filter all invalid UTF8 characters from the specified string, returning a new fully UTF8 valid string. Don't forget to free the returned string with pa_xfree() */
char *pa_utf8_filter(const char *str);