about summary refs log tree commit diff stats
path: root/src/LYSearch.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2005-01-02 23:49:58 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2005-01-02 23:49:58 -0500
commit1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f (patch)
treea83fd699321c8545516d56abcda6c9718fd1f4fb /src/LYSearch.h
parentbed9a2c79bfdde6e4ec89d9d02a5d6e88ae12f79 (diff)
downloadlynx-snapshots-1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f.tar.gz
snapshot of project "lynx", label v2-8-6dev_10
Diffstat (limited to 'src/LYSearch.h')
-rw-r--r--src/LYSearch.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/LYSearch.h b/src/LYSearch.h
index 55118157..f9763301 100644
--- a/src/LYSearch.h
+++ b/src/LYSearch.h
@@ -1,4 +1,3 @@
-
 #ifndef LYSEARCH_H
 #define LYSEARCH_H
 
@@ -6,16 +5,22 @@
 #include <LYStructs.h>
 #endif /* LYSTRUCT_H */
 
-extern BOOL textsearch(DocInfo *cur_doc,
-		       char *prev_target,
-		       int target_size,
-		       int direction);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern BOOL textsearch(DocInfo *cur_doc,
+			   char *prev_target,
+			   int target_size,
+			   int direction);
 
 #define IN_FILE 1
 #define IN_LINKS 2
 
 #ifndef NOT_FOUND
 #define NOT_FOUND 0
-#endif /* NOT_FOUND */
+#endif				/* NOT_FOUND */
 
-#endif /* LYSEARCH_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* LYSEARCH_H */