about summary refs log tree commit diff stats
path: root/src/LYList.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYList.h')
-rw-r--r--src/LYList.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/LYList.h b/src/LYList.h
index a3955bc6..3d99adbe 100644
--- a/src/LYList.h
+++ b/src/LYList.h
@@ -3,7 +3,13 @@
 
 #include <LYStructs.h>
 
-extern int showlist(DocInfo *newdoc, BOOLEAN titles);
-extern void printlist(FILE *fp, BOOLEAN titles);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern int showlist(DocInfo *newdoc, BOOLEAN titles);
+    extern void printlist(FILE *fp, BOOLEAN titles);
 
-#endif /* LYLIST_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* LYLIST_H */