about summary refs log tree commit diff stats
path: root/src/LYNews.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYNews.h')
-rw-r--r--src/LYNews.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/LYNews.h b/src/LYNews.h
index 4f19ef85..780f8fa6 100644
--- a/src/LYNews.h
+++ b/src/LYNews.h
@@ -5,8 +5,14 @@
 #include <LYStructs.h>
 #endif /* LYSTRUCTS_H */
 
-extern BOOLEAN term_message;
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern BOOLEAN term_message;
 
-extern char *LYNewsPost(char *newsgroups, BOOLEAN followup);
+    extern char *LYNewsPost(char *newsgroups, BOOLEAN followup);
 
-#endif /* LYNEWSPOST_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* LYNEWSPOST_H */