X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsystemd%2Fsd-utf8.h;h=205ee42213b9456ed02dea574580ac103257ff70;hp=039c36e3252f9cb7b3fdb321552182afb693065b;hb=0014a4ad505d119c7ac4346d9d774c3f17f663a5;hpb=faaa5728d956b7f0d24f27f3341d0b9fff30af00 diff --git a/src/systemd/sd-utf8.h b/src/systemd/sd-utf8.h index 039c36e32..205ee4221 100644 --- a/src/systemd/sd-utf8.h +++ b/src/systemd/sd-utf8.h @@ -1,7 +1,7 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef fooutf8hfoo -#define fooutf8hfoo +#ifndef foosdutf8hfoo +#define foosdutf8hfoo /*** This file is part of systemd. @@ -22,7 +22,13 @@ along with systemd; If not, see . ***/ -const char *sd_utf8_is_valid(const char *s); -const char *sd_ascii_is_valid(const char *s); +#include "_sd-common.h" + +_SD_BEGIN_DECLARATIONS; + +_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