aboutsummaryrefslogtreecommitdiff
path: root/src/include/prt.H1
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/prt.H1')
-rw-r--r--src/include/prt.H18
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/prt.H1 b/src/include/prt.H1
index 5c76fd80..061c11ba 100644
--- a/src/include/prt.H1
+++ b/src/include/prt.H1
@@ -1,3 +1,7 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern void myputchar(char );
extern void clear_buff(void);
extern void move_end(void);
@@ -17,3 +21,7 @@ extern void print_whole_buff(void);
extern void move_ahead(void);
extern void move_back(void);
extern void back_over_current_char(void);
+
+#ifdef __cplusplus
+}
+#endif