diff options
| author | 2009-05-31 09:16:50 +0000 | |
|---|---|---|
| committer | 2009-05-31 09:16:50 +0000 | |
| commit | 71d8b9891a55151b80e6b37e0fd1a8e75fa529d1 (patch) | |
| tree | c255d1b19a357b3e9230c4aba23ed40fc48a798e /gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.h | |
| parent | indent (diff) | |
| download | wireguard-openbsd-71d8b9891a55151b80e6b37e0fd1a8e75fa529d1.tar.xz wireguard-openbsd-71d8b9891a55151b80e6b37e0fd1a8e75fa529d1.zip | |
Update to lynx-2.8.6.rel5, with our local patches maintained where relevant.
tests from miod@ sthen@ jmc@ jsing@
two additional fixes from miod:
- fix uninitialized stack variable use, leading to occasional crash.
- modify the socklen_t test to include <sys/types.h>, fixes gcc2 build failures
Diffstat (limited to 'gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.h')
| -rw-r--r-- | gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.h b/gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.h index 624c04d48e9..667fc24ee28 100644 --- a/gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.h +++ b/gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.h @@ -7,17 +7,23 @@ */ - #ifndef HTGOPHER_H #define HTGOPHER_H #include <HTAccess.h> #include <HTAnchor.h> +#ifdef __cplusplus +extern "C" { +#endif #ifdef GLOBALREF_IS_MACRO -extern GLOBALREF (HTProtocol, HTGopher); + extern GLOBALREF (HTProtocol, HTGopher); + #else -GLOBALREF HTProtocol HTGopher; -#endif /* GLOBALREF_IS_MACRO */ + GLOBALREF HTProtocol HTGopher; +#endif /* GLOBALREF_IS_MACRO */ -#endif /* HTGOPHER_H */ +#ifdef __cplusplus +} +#endif +#endif /* HTGOPHER_H */ |
