diff options
Diffstat (limited to 'src/LYOptions.h')
-rw-r--r-- | src/LYOptions.h | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/src/LYOptions.h b/src/LYOptions.h index 04b8b18e..2e402613 100644 --- a/src/LYOptions.h +++ b/src/LYOptions.h @@ -4,28 +4,34 @@ #include <LYStructs.h> #include <LYStrings.h> -extern BOOLEAN term_options; /* for LYgetstr() */ +#ifdef __cplusplus +extern "C" { +#endif + extern BOOLEAN term_options; /* for LYgetstr() */ -extern BOOLEAN LYCheckUserAgent(void); -extern void edit_bookmarks(void); -extern int popup_choice(int cur_choice, - int line, - int column, - const char **choices, - int length, - int disabled, - BOOLEAN mouse); + extern BOOLEAN LYCheckUserAgent(void); + extern void edit_bookmarks(void); + extern int popup_choice(int cur_choice, + int line, + int column, + const char **choices, + int length, + int disabled, + BOOLEAN mouse); #define LYChoosePopup(cur, line, column, choices, length, disabled, mouse) \ popup_choice(cur, line, column, (const char **)choices, length, disabled, mouse) #ifndef NO_OPTION_FORMS -extern void LYMenuVisitedLinks(FILE *fp0, int disable_all); -extern int postoptions(DocInfo *newdoc); -#endif /* !NO_OPTION_FORMS */ + extern void LYMenuVisitedLinks(FILE *fp0, int disable_all); + extern int postoptions(DocInfo *newdoc); +#endif /* !NO_OPTION_FORMS */ #ifndef NO_OPTION_MENU -extern void LYoptions(void); -#endif /* !NO_OPTION_MENU */ + extern void LYoptions(void); +#endif /* !NO_OPTION_MENU */ -#endif /* LYOPTIONS_H */ +#ifdef __cplusplus +} +#endif +#endif /* LYOPTIONS_H */ |