summaryrefslogtreecommitdiff
path: root/libpsx/include/strings.h
diff options
context:
space:
mode:
authorXavi Del Campo <xavi.dcr@tutanota.com>2020-02-01 00:51:53 +0100
committerXavi Del Campo <xavi.dcr@tutanota.com>2020-02-01 00:51:53 +0100
commit805fc37a06b41d6a52b2994dcfda794b0e476b4d (patch)
tree479afad552bf982e36c845fa416ce074a87ab208 /libpsx/include/strings.h
parent5f638ea86cd1ee29ab9942ba32ae87c12bb1fb0f (diff)
downloadpsxsdk-805fc37a06b41d6a52b2994dcfda794b0e476b4d.tar.gz
Added missing extern "C"
Diffstat (limited to 'libpsx/include/strings.h')
-rw-r--r--libpsx/include/strings.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/libpsx/include/strings.h b/libpsx/include/strings.h
index 7e9082f..c654055 100644
--- a/libpsx/include/strings.h
+++ b/libpsx/include/strings.h
@@ -1,4 +1,4 @@
-/*
+/*
* strings.h
*
* PSXSDK
@@ -7,6 +7,11 @@
#ifndef _STRINGS_H
#define _STRINGS_H
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include <string.h>
#include <types.h>
@@ -34,4 +39,8 @@ unsigned int popcount64(uint64_t value);
int strcasecmp(const char *s1, const char *s2);
int strncasecmp(const char *s1, const char *s2, size_t len);
+#ifdef __cplusplus
+}
+#endif
+
#endif