about summary refs log tree commit diff stats
path: root/src/LYEdit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYEdit.h')
-rw-r--r--src/LYEdit.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/LYEdit.h b/src/LYEdit.h
index 8b417e19..3c070628 100644
--- a/src/LYEdit.h
+++ b/src/LYEdit.h
@@ -5,8 +5,14 @@
 #include <HTUtils.h>
 #endif
 
-extern BOOLEAN editor_can_position(void);
-extern int edit_current_file(char *newfile, int cur, int lineno);
-extern void edit_temporary_file(char *filename, const char *position, const char *message);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern BOOLEAN editor_can_position(void);
+    extern int edit_current_file(char *newfile, int cur, int lineno);
+    extern void edit_temporary_file(char *filename, const char *position, const char *message);
 
-#endif /* LYEDIT_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* LYEDIT_H */