about summary refs log tree commit diff stats
path: root/src/LYTraversal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYTraversal.h')
-rw-r--r--src/LYTraversal.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/LYTraversal.h b/src/LYTraversal.h
index 7da7da36..8e712e51 100644
--- a/src/LYTraversal.h
+++ b/src/LYTraversal.h
@@ -7,11 +7,17 @@
 #include <HTUtils.h>		/* BOOL, ARGS */
 #endif
 
-extern BOOLEAN lookup_link(char *target);
-extern void add_to_table(char *target);
-extern void add_to_traverse_list(char *fname, char *prev_link_name);
-extern void dump_traversal_history(void);
-extern void add_to_reject_list(char *target);
-extern BOOLEAN lookup_reject(char *target);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern BOOLEAN lookup_link(char *target);
+    extern void add_to_table(char *target);
+    extern void add_to_traverse_list(char *fname, char *prev_link_name);
+    extern void dump_traversal_history(void);
+    extern void add_to_reject_list(char *target);
+    extern BOOLEAN lookup_reject(char *target);
 
-#endif /* TRAVERSAL_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* TRAVERSAL_H */