summaryrefslogtreecommitdiffstats
path: root/src/pulse/utf8.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-09-16 22:42:03 +0000
committerLennart Poettering <lennart@poettering.net>2007-09-16 22:42:03 +0000
commit116ddaaae9267d9f89f3d127cba62763246b441c (patch)
tree6c09bd5990ed3eedc22098ade6fd511ae9274037 /src/pulse/utf8.h
parent35483eeab7d08bc3e7ab2cd7a91e3d7453dca605 (diff)
use gcc const and pure function attributes wherever applicable
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1835 fefdeb5f-60dc-0310-8127-8f9354f1896f
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 ea08840b..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 */
-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);