about summary refs log tree commit diff stats
path: root/src/LYExtern.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYExtern.h')
-rw-r--r--src/LYExtern.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/LYExtern.h b/src/LYExtern.h
index 6cb9ba8b..4d77b1db 100644
--- a/src/LYExtern.h
+++ b/src/LYExtern.h
@@ -5,11 +5,17 @@
 #include <LYStructs.h>
 #endif /* LYSTRUCTS_H */
 
-/* returns TRUE if something matching was executed */
-BOOL run_external(char *c, BOOL only_overriders);
+#ifdef __cplusplus
+extern "C" {
+#endif
+/* returns TRUE if something matching was executed */ BOOL run_external(char
+									*c, BOOL only_overriders);
 
 #ifdef WIN_EX
-extern char *quote_pathname(char *pathname);
+    extern char *quote_pathname(char *pathname);
 #endif
 
-#endif /* EXTERNALS_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* EXTERNALS_H */