summaryrefslogtreecommitdiff
path: root/klibc/include/klibc/extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'klibc/include/klibc/extern.h')
-rw-r--r--klibc/include/klibc/extern.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/klibc/include/klibc/extern.h b/klibc/include/klibc/extern.h
new file mode 100644
index 0000000000..f9c3467211
--- /dev/null
+++ b/klibc/include/klibc/extern.h
@@ -0,0 +1,14 @@
+/*
+ * klibc/extern.h
+ */
+
+#ifndef _KLIBC_EXTERN_H
+#define _KLIBC_EXTERN_H
+
+#ifdef __cplusplus
+#define __extern extern "C"
+#else
+#define __extern extern
+#endif
+
+#endif /* _KLIBC_EXTERN_H */