about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTInit.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTInit.h')
-rw-r--r--WWW/Library/Implementation/HTInit.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/WWW/Library/Implementation/HTInit.h b/WWW/Library/Implementation/HTInit.h
index 81441421..4fc70003 100644
--- a/WWW/Library/Implementation/HTInit.h
+++ b/WWW/Library/Implementation/HTInit.h
@@ -18,11 +18,17 @@
 #include <HTUtils.h>
 #endif
 
-extern void HTFormatInit(void);
-extern void HTPreparsedFormatInit(void);
-extern void HTFileInit(void);
-extern int LYTestMailcapCommand(const char *testcommand, const char *params);
-extern BOOL LYMailcapUsesPctS(const char *controlstring);
-extern char *LYMakeMailcapCommand(const char *command, const char *params, const char *filename);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern void HTFormatInit(void);
+    extern void HTPreparsedFormatInit(void);
+    extern void HTFileInit(void);
+    extern int LYTestMailcapCommand(const char *testcommand, const char *params);
+    extern BOOL LYMailcapUsesPctS(const char *controlstring);
+    extern char *LYMakeMailcapCommand(const char *command, const char *params, const char *filename);
 
-#endif /* HTINIT_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* HTINIT_H */