summaryrefslogtreecommitdiff
path: root/examples/hello_cxx/five.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello_cxx/five.h')
-rw-r--r--examples/hello_cxx/five.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/hello_cxx/five.h b/examples/hello_cxx/five.h
new file mode 100644
index 0000000..51f786b
--- /dev/null
+++ b/examples/hello_cxx/five.h
@@ -0,0 +1,14 @@
+#ifndef _FIVE_H_
+#define _FIVE_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int five (void);
+
+#ifdef __cplusplus
+};
+#endif
+
+#endif // _FIVE_H_