summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/lynx/WWW/Library/Implementation/HTFinger.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/lynx/WWW/Library/Implementation/HTFinger.h')
-rw-r--r--gnu/usr.bin/lynx/WWW/Library/Implementation/HTFinger.h28
1 files changed, 17 insertions, 11 deletions
diff --git a/gnu/usr.bin/lynx/WWW/Library/Implementation/HTFinger.h b/gnu/usr.bin/lynx/WWW/Library/Implementation/HTFinger.h
index 8fece0ecade..071d43bcc01 100644
--- a/gnu/usr.bin/lynx/WWW/Library/Implementation/HTFinger.h
+++ b/gnu/usr.bin/lynx/WWW/Library/Implementation/HTFinger.h
@@ -1,7 +1,7 @@
/* Finger protocol module for the WWW library */
/* History:
-** 21 Apr 94 Andrew Brooks
-*/
+ * 21 Apr 94 Andrew Brooks
+ */
#ifndef HTFINGER_H
#define HTFINGER_H
@@ -9,16 +9,22 @@
#include <HTAccess.h>
#include <HTAnchor.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
#ifdef GLOBALREF_IS_MACRO
-extern GLOBALREF (HTProtocol, HTFinger);
+ extern GLOBALREF (HTProtocol, HTFinger);
+
#else
-GLOBALREF HTProtocol HTFinger;
-#endif /* GLOBALREF_IS_MACRO */
+ GLOBALREF HTProtocol HTFinger;
+#endif /* GLOBALREF_IS_MACRO */
-extern int HTLoadFinger PARAMS((
- CONST char * arg,
- HTParentAnchor * anAnchor,
- HTFormat format_out,
- HTStream * stream));
+ extern int HTLoadFinger(const char *arg,
+ HTParentAnchor *anAnchor,
+ HTFormat format_out,
+ HTStream *stream);
-#endif /* HTFINGER_H */
+#ifdef __cplusplus
+}
+#endif
+#endif /* HTFINGER_H */