chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
api: add C++ guards
[elogind.git]
/
src
/
systemd
/
sd-utf8.h
diff --git
a/src/systemd/sd-utf8.h
b/src/systemd/sd-utf8.h
index 039c36e3252f9cb7b3fdb321552182afb693065b..54ef5fbd89864af0fc907c3ea66a5e63f2258a09 100644
(file)
--- 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 -*-*/
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef fooutf8hfoo
-#define fooutf8hfoo
+#ifndef foo
sd
utf8hfoo
+#define foo
sd
utf8hfoo
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-22,7
+22,15
@@
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
+
const char *sd_utf8_is_valid(const char *s);
const char *sd_ascii_is_valid(const char *s);
const char *sd_utf8_is_valid(const char *s);
const char *sd_ascii_is_valid(const char *s);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif