summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/lynx/WWW/Library/Implementation/HTMLGen.h
diff options
context:
space:
mode:
authoravsm <avsm@openbsd.org>2009-05-31 09:16:50 +0000
committeravsm <avsm@openbsd.org>2009-05-31 09:16:50 +0000
commit71d8b9891a55151b80e6b37e0fd1a8e75fa529d1 (patch)
treec255d1b19a357b3e9230c4aba23ed40fc48a798e /gnu/usr.bin/lynx/WWW/Library/Implementation/HTMLGen.h
parentindent (diff)
downloadwireguard-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/HTMLGen.h')
-rw-r--r--gnu/usr.bin/lynx/WWW/Library/Implementation/HTMLGen.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/gnu/usr.bin/lynx/WWW/Library/Implementation/HTMLGen.h b/gnu/usr.bin/lynx/WWW/Library/Implementation/HTMLGen.h
index ee484078b86..f2db3d40209 100644
--- a/gnu/usr.bin/lynx/WWW/Library/Implementation/HTMLGen.h
+++ b/gnu/usr.bin/lynx/WWW/Library/Implementation/HTMLGen.h
@@ -1,8 +1,8 @@
/* /Net/dxcern/userd/timbl/hypertext/WWW/Library/Implementation/HTMLGen.html
HTML GENERATOR
- This module converts structed stream into stream. That is, given a stream to write to,
- it will give you a structured stream to
+ This module converts structed stream into stream. That is, given a stream
+ to write to, it will give you a structured stream to
*/
#ifndef HTMLGEN_H
@@ -11,17 +11,16 @@
#include <HTML.h>
#include <HTStream.h>
-/* Subclass:
-*/
-/* extern CONST HTStructuredClass HTMLGeneration; */
+#ifdef __cplusplus
+extern "C" {
+#endif
+ extern HTStructured *HTMLGenerator(HTStream *output);
-/* Special Creation:
-*/
-extern HTStructured * HTMLGenerator PARAMS((HTStream * output));
+ extern HTStream *HTPlainToHTML(HTPresentation *pres,
+ HTParentAnchor *anchor,
+ HTStream *sink);
-extern HTStream * HTPlainToHTML PARAMS((
- HTPresentation * pres,
- HTParentAnchor * anchor,
- HTStream * sink));
-
-#endif /* HTMLGEN_H */
+#ifdef __cplusplus
+}
+#endif
+#endif /* HTMLGEN_H */