summaryrefslogtreecommitdiff
path: root/lib/c-strcaseeq.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
commit4682deeb62247d34de87f8e777f99e2d337fd377 (patch)
tree5bd5b5605b5f3a4b3c8ea7468c34c23094afdef4 /lib/c-strcaseeq.h
parent00893e79fc62966067af1a106567db96bd170338 (diff)
New upstream version 1.3upstream/1.3upstream
Diffstat (limited to 'lib/c-strcaseeq.h')
-rw-r--r--lib/c-strcaseeq.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/c-strcaseeq.h b/lib/c-strcaseeq.h
index 26e05c93..0348c559 100644
--- a/lib/c-strcaseeq.h
+++ b/lib/c-strcaseeq.h
@@ -19,6 +19,11 @@
#include "c-strcase.h"
#include "c-ctype.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* STRCASEEQ allows to optimize string comparison with a small literal string.
STRCASEEQ (s, "UTF-8", 'U','T','F','-','8',0,0,0,0)
is semantically equivalent to
@@ -179,3 +184,8 @@ strcaseeq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s
(c_strcasecmp (s1, s2) == 0)
#endif
+
+
+#ifdef __cplusplus
+}
+#endif