summaryrefslogtreecommitdiff
path: root/src/systemd/sd-utf8.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-11 23:40:00 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-12 00:12:44 +0100
commit98f91566cc7d43c6b86a711fa1d196ed5876b2f3 (patch)
tree2713f47f4402622e81f10d745d8c16123e817c1d /src/systemd/sd-utf8.h
parent76b543756ef69ce69784d571aefe8de65eaeb331 (diff)
bus: export utf8 validator calls as pure functions
Diffstat (limited to 'src/systemd/sd-utf8.h')
-rw-r--r--src/systemd/sd-utf8.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemd/sd-utf8.h b/src/systemd/sd-utf8.h
index 4a43eb7c2..205ee4221 100644
--- a/src/systemd/sd-utf8.h
+++ b/src/systemd/sd-utf8.h
@@ -26,8 +26,8 @@
_SD_BEGIN_DECLARATIONS;
-const char *sd_utf8_is_valid(const char *s);
-const char *sd_ascii_is_valid(const char *s);
+_sd_pure_ const char *sd_utf8_is_valid(const char *s);
+_sd_pure_ const char *sd_ascii_is_valid(const char *s);
_SD_END_DECLARATIONS;