about summary refs log tree commit diff stats
path: root/src/LYDownload.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYDownload.h')
-rw-r--r--src/LYDownload.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/LYDownload.h b/src/LYDownload.h
index f80177db..5926df8b 100644
--- a/src/LYDownload.h
+++ b/src/LYDownload.h
@@ -5,11 +5,17 @@
 #include <LYStructs.h>
 #endif /* LYSTRUCTS_H */
 
-extern void LYDownload(char *line);
-extern int LYdownload_options(char **newfile, char *data_file);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern void LYDownload(char *line);
+    extern int LYdownload_options(char **newfile, char *data_file);
 
 #ifdef VMS
-extern BOOLEAN LYDidRename;
+    extern BOOLEAN LYDidRename;
 #endif
 
-#endif /* LYDOWNLOAD_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* LYDOWNLOAD_H */