about summary refs log tree commit diff stats
path: root/WWW
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-07-31 09:38:29 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1998-07-31 09:38:29 -0400
commite6ba2a01f70f84d9133cf305e4b493c9d656cb21 (patch)
tree264c4d01cf7791c9f77d583f05456a6108df3cdc /WWW
parentaa3258c631eaca9dc2e7e2590b8778b827006144 (diff)
downloadlynx-snapshots-e6ba2a01f70f84d9133cf305e4b493c9d656cb21.tar.gz
snapshot of project "lynx", label v2-8-1dev_19
Diffstat (limited to 'WWW')
-rw-r--r--WWW/Library/Implementation/HTFile.c6
-rw-r--r--WWW/Library/Implementation/HTFormat.c1
-rw-r--r--WWW/Library/Implementation/HTUtils.h7
3 files changed, 4 insertions, 10 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c
index cc9a26e4..a703fd45 100644
--- a/WWW/Library/Implementation/HTFile.c
+++ b/WWW/Library/Implementation/HTFile.c
@@ -100,8 +100,8 @@ typedef struct _HTSuffix {
 #endif /* NGROUPS_MAX */
 #endif /* NGROUPS */
 
-#ifndef TYPE_GETGROUPS
-#define TYPE_GETGROUPS int
+#ifndef GETGROUPS_T
+#define GETGROUPS_T int
 #endif
 
 #include <HTML.h>		/* For directory object building */
@@ -1087,7 +1087,7 @@ PUBLIC BOOL HTEditable ARGS1(
 #ifdef NO_GROUPS
     return NO;		/* Safe answer till we find the correct algorithm */
 #else
-    TYPE_GETGROUPS groups[NGROUPS];
+    GETGROUPS_T groups[NGROUPS];
     uid_t	myUid;
     int 	ngroups;			/* The number of groups  */
     struct stat fileStatus;
diff --git a/WWW/Library/Implementation/HTFormat.c b/WWW/Library/Implementation/HTFormat.c
index 43e2081b..4b69e1d4 100644
--- a/WWW/Library/Implementation/HTFormat.c
+++ b/WWW/Library/Implementation/HTFormat.c
@@ -923,7 +923,6 @@ PUBLIC int HTParseGzFile ARGS5(
 
     if (!stream) {
 	char buffer[1024];	/* @@@@@@@@ */
-	extern char LYCancelDownload;
 	HTCloseGzFile(gzfp);
 	if (LYCancelDownload) {
 	    LYCancelDownload = FALSE;
diff --git a/WWW/Library/Implementation/HTUtils.h b/WWW/Library/Implementation/HTUtils.h
index b8ea24f0..5b9ad930 100644
--- a/WWW/Library/Implementation/HTUtils.h
+++ b/WWW/Library/Implementation/HTUtils.h
@@ -28,7 +28,6 @@
 #if defined(USE_SOCKS5) && !defined(DONT_USE_SOCKS5)
 #define SOCKS4TO5
 #define SHORTENED_RBIND
-#define SOCKS
 #include <socks.h>
 #endif /* USE_SOCKS5 */
 
@@ -351,11 +350,7 @@ Out Of Memory checking for malloc() return:
 
 #include <LYexit.h>
 
-#define outofmem(file, func)\
- { fprintf(stderr,\
-  "\r\n\r\n\r\n%s %s: out of memory.  Aborting...\r\n", file, func);\
-  LYOutOfMemory = TRUE; exit(-1);}
-/* extern void outofmem PARAMS((const char *fname, const char *func)); */
+extern void outofmem PARAMS((CONST char *fname, CONST char *func));
 
 /*