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: fix hello ioctl buffer size calculation
[elogind.git]
/
src
/
systemd
/
sd-utf8.h
diff --git
a/src/systemd/sd-utf8.h
b/src/systemd/sd-utf8.h
index 54ef5fbd89864af0fc907c3ea66a5e63f2258a09..205ee42213b9456ed02dea574580ac103257ff70 100644
(file)
--- a/
src/systemd/sd-utf8.h
+++ b/
src/systemd/sd-utf8.h
@@
-22,15
+22,13
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#ifdef __cplusplus
-extern "C" {
-#endif
+#include "_sd-common.h"
-const char *sd_utf8_is_valid(const char *s);
-const char *sd_ascii_is_valid(const char *s);
+_SD_BEGIN_DECLARATIONS;
-#ifdef __cplusplus
-}
-#endif
+_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;
#endif
#endif