about summary refs log tree commit diff stats
path: root/src/LYUpload.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYUpload.h')
-rw-r--r--src/LYUpload.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/LYUpload.h b/src/LYUpload.h
index be421626..84a71a03 100644
--- a/src/LYUpload.h
+++ b/src/LYUpload.h
@@ -1,4 +1,3 @@
-
 #ifndef LYUPLOAD_H
 #define LYUPLOAD_H
 
@@ -6,7 +5,13 @@
 #include <LYStructs.h>
 #endif /* LYSTRUCTS_H */
 
-extern int LYUpload(char *line);
-extern int LYUpload_options(char **newfile, char *directory);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern int LYUpload(char *line);
+    extern int LYUpload_options(char **newfile, char *directory);
 
-#endif /* LYUPLOAD_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* LYUPLOAD_H */