about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTFWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTFWriter.h')
-rw-r--r--WWW/Library/Implementation/HTFWriter.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/WWW/Library/Implementation/HTFWriter.h b/WWW/Library/Implementation/HTFWriter.h
index 615e6341..015ea15f 100644
--- a/WWW/Library/Implementation/HTFWriter.h
+++ b/WWW/Library/Implementation/HTFWriter.h
@@ -11,14 +11,20 @@
 #include <HTStream.h>
 #include <HTFormat.h>
 
-extern HTStream *HTFWriter_new(FILE *fp);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern HTStream *HTFWriter_new(FILE *fp);
 
-extern HTStream *HTSaveAndExecute(HTPresentation *pres,
-				  HTParentAnchor *anchor,	/* Not used */
-				  HTStream *sink);
+    extern HTStream *HTSaveAndExecute(HTPresentation *pres,
+				      HTParentAnchor *anchor,	/* Not used */
+				      HTStream *sink);
 
-extern HTStream *HTSaveLocally(HTPresentation *pres,
-			       HTParentAnchor *anchor,	/* Not used */
-			       HTStream *sink);
+    extern HTStream *HTSaveLocally(HTPresentation *pres,
+				   HTParentAnchor *anchor,	/* Not used */
+				   HTStream *sink);
 
-#endif /* HTFWRITE_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* HTFWRITE_H */