From 2cd8e80bfe2792ce8999a26b34384598f58e3889 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Tue, 27 Apr 2004 20:26:05 -0400 Subject: snapshot of project "lynx", label v2-8-6dev_2 --- WWW/Library/Implementation/HTFinger.c | 46 +++++++++++++++++------------------ 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'WWW/Library/Implementation/HTFinger.c') diff --git a/WWW/Library/Implementation/HTFinger.c b/WWW/Library/Implementation/HTFinger.c index 08d0932d..7a9fc532 100644 --- a/WWW/Library/Implementation/HTFinger.c +++ b/WWW/Library/Implementation/HTFinger.c @@ -53,21 +53,21 @@ /* Module-wide variables */ -PRIVATE int finger_fd; /* Socket for FingerHost */ +static int finger_fd; /* Socket for FingerHost */ struct _HTStructured { - CONST HTStructuredClass * isa; /* For gopher streams */ + const HTStructuredClass * isa; /* For gopher streams */ /* ... */ }; -PRIVATE HTStructured * target; /* The output sink */ -PRIVATE HTStructuredClass targetClass; /* Copy of fn addresses */ +static HTStructured * target; /* The output sink */ +static HTStructuredClass targetClass; /* Copy of fn addresses */ /* Initialisation for this module ** ------------------------------ */ -PRIVATE BOOL initialized = NO; -PRIVATE BOOL initialize NOARGS +static BOOL initialized = NO; +static BOOL initialize (void) { finger_fd = -1; /* Disconnected */ return YES; @@ -78,19 +78,19 @@ PRIVATE BOOL initialize NOARGS /* Start anchor element ** -------------------- */ -PRIVATE void start_anchor ARGS1(CONST char *, href) +static void start_anchor (const char * href) { BOOL present[HTML_A_ATTRIBUTES]; - CONST char* value[HTML_A_ATTRIBUTES]; + const char* value[HTML_A_ATTRIBUTES]; { int i; for(i=0; i