X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsystemd%2Fsd-utf8.h;h=205ee42213b9456ed02dea574580ac103257ff70;hp=54ef5fbd89864af0fc907c3ea66a5e63f2258a09;hb=22debb8b98b531ca075d9c19faedff58b9b1c0d7;hpb=6695ed7a841faad68df3d5cb466f5e0e01f57536 diff --git a/src/systemd/sd-utf8.h b/src/systemd/sd-utf8.h index 54ef5fbd8..205ee4221 100644 --- a/src/systemd/sd-utf8.h +++ b/src/systemd/sd-utf8.h @@ -22,15 +22,13 @@ along with systemd; If not, see . ***/ -#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