about summary refs log tree commit diff stats
path: root/src/LYMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYMap.h')
-rw-r--r--src/LYMap.h24
1 files changed, 15 insertions, 9 deletions
diff --git a/src/LYMap.h b/src/LYMap.h
index 1f5ddabb..bd16ad8b 100644
--- a/src/LYMap.h
+++ b/src/LYMap.h
@@ -8,14 +8,20 @@
 #include <HTList.h>
 #include <HTAnchor.h>
 
-extern BOOL LYMapsOnly;
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern BOOL LYMapsOnly;
 
-extern void ImageMapList_free(HTList *list);
-extern BOOL LYAddImageMap(char *address, char *title,
-			  HTParentAnchor *node_anchor);
-extern BOOL LYAddMapElement(char *map, char *address, char *title,
-			    HTParentAnchor *node_anchor,
-			    BOOL intern_flag);
-extern BOOL LYHaveImageMap(char *address);
+    extern void ImageMapList_free(HTList *list);
+    extern BOOL LYAddImageMap(char *address, char *title,
+			      HTParentAnchor *node_anchor);
+    extern BOOL LYAddMapElement(char *map, char *address, char *title,
+				HTParentAnchor *node_anchor,
+				BOOL intern_flag);
+    extern BOOL LYHaveImageMap(char *address);
 
-#endif /* LYMAP_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* LYMAP_H */