about summary refs log tree commit diff stats
path: root/src/LYShowInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYShowInfo.h')
-rw-r--r--src/LYShowInfo.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/LYShowInfo.h b/src/LYShowInfo.h
index 826821e0..443bff37 100644
--- a/src/LYShowInfo.h
+++ b/src/LYShowInfo.h
@@ -5,11 +5,17 @@
 #include <LYStructs.h>
 #endif /* LYSTRUCTS_H */
 
-extern BOOL LYVersionIsRelease(void);
-extern const char *LYVersionStatus(void);
-extern const char *LYVersionDate(void);
-extern int LYShowInfo(DocInfo *doc,
-		      DocInfo *newdoc,
-		      char *owner_address);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern BOOL LYVersionIsRelease(void);
+    extern const char *LYVersionStatus(void);
+    extern const char *LYVersionDate(void);
+    extern int LYShowInfo(DocInfo *doc,
+			  DocInfo *newdoc,
+			  char *owner_address);
 
-#endif /* LYSHOWINFO_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* LYSHOWINFO_H */