From 1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sun, 2 Jan 2005 23:49:58 -0500 Subject: snapshot of project "lynx", label v2-8-6dev_10 --- src/LYSearch.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'src/LYSearch.h') 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 #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 */ -- cgit 1.4.1-2-gfad0