chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus: export utf8 validator calls as pure functions
[elogind.git]
/
src
/
systemd
/
_sd-common.h
diff --git
a/src/systemd/_sd-common.h
b/src/systemd/_sd-common.h
index b0c48aab9b2e7ff2ba6cd38548cf7abf3d8614b3..594ff3db2bb15e8e5184fd07e7105a6f86430d68 100644
(file)
--- a/
src/systemd/_sd-common.h
+++ b/
src/systemd/_sd-common.h
@@
-40,6
+40,10
@@
# define _sd_packed_ __attribute__((packed))
#endif
+#ifndef _sd_pure_
+# define _sd_pure_ __attribute__((pure))
+#endif
+
#ifndef _SD_STRINGIFY
# define _SD_XSTRINGIFY(x) #x
# define _SD_STRINGIFY(x) _SD_XSTRINGIFY(x)