about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTUU.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTUU.h')
-rw-r--r--WWW/Library/Implementation/HTUU.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/WWW/Library/Implementation/HTUU.h b/WWW/Library/Implementation/HTUU.h
index 6a0d4a7c..1bd5e6e6 100644
--- a/WWW/Library/Implementation/HTUU.h
+++ b/WWW/Library/Implementation/HTUU.h
@@ -16,12 +16,18 @@
 #include <HTUtils.h>
 #endif
 
-extern int HTUU_encode(unsigned char *bufin,
-		       unsigned int nbytes,
-		       char *bufcoded);
+#ifdef __cplusplus
+extern "C" {
+#endif
+    extern int HTUU_encode(unsigned char *bufin,
+			   unsigned int nbytes,
+			   char *bufcoded);
 
-extern int HTUU_decode(char *bufcoded,
-		       unsigned char *bufplain,
-		       int outbufsize);
+    extern int HTUU_decode(char *bufcoded,
+			   unsigned char *bufplain,
+			   int outbufsize);
 
-#endif /* HTUU_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* HTUU_H */