summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.h')
-rw-r--r--gnu/usr.bin/lynx/WWW/Library/Implementation/HTGopher.h16
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 */