about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/LYGlobalDefs.h3
-rw-r--r--src/LYMain.c4
-rw-r--r--src/LYexit.c3
3 files changed, 3 insertions, 7 deletions
diff --git a/src/LYGlobalDefs.h b/src/LYGlobalDefs.h
index 02e73bff..f237b2bd 100644
--- a/src/LYGlobalDefs.h
+++ b/src/LYGlobalDefs.h
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYGlobalDefs.h,v 1.144 2018/03/11 22:49:43 tom Exp $
+ * $LynxId: LYGlobalDefs.h,v 1.145 2018/03/21 00:50:51 tom Exp $
  *
  * global variable definitions
  */
@@ -667,7 +667,6 @@ extern "C" {
     extern BOOLEAN system_is_NT;
     extern char windows_drive[4];
     extern int lynx_timeout;
-    extern CRITICAL_SECTION critSec_DNS;
     extern CRITICAL_SECTION critSec_READ;
 #endif				/* _WINDOWS */
 
diff --git a/src/LYMain.c b/src/LYMain.c
index 18c8898f..f3a00035 100644
--- a/src/LYMain.c
+++ b/src/LYMain.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYMain.c,v 1.274 2018/03/18 19:17:00 tom Exp $
+ * $LynxId: LYMain.c,v 1.275 2018/03/21 00:50:51 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTTP.h>
@@ -341,7 +341,6 @@ char windows_drive[4];		/* 1998/01/13 (Tue) 21:13:24 */
 #ifdef _WINDOWS
 #define	TIMEOUT	180		/* 1998/03/30 (Mon) 14:50:44 */
 int lynx_timeout = TIMEOUT;
-CRITICAL_SECTION critSec_DNS;	/* 1998/09/03 (Thu) 22:01:56 */
 CRITICAL_SECTION critSec_READ;	/* 1998/09/03 (Thu) 22:01:56 */
 #endif /* _WINDOWS */
 
@@ -1083,7 +1082,6 @@ int main(int argc,
     }
 
     /* 1998/09/03 (Thu) 22:02:32 */
-    InitializeCriticalSection(&critSec_DNS);
     InitializeCriticalSection(&critSec_READ);
 
 #endif /* _WINDOWS */
diff --git a/src/LYexit.c b/src/LYexit.c
index 425c85c0..b266117f 100644
--- a/src/LYexit.c
+++ b/src/LYexit.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYexit.c,v 1.36 2013/10/24 09:16:37 tom Exp $
+ * $LynxId: LYexit.c,v 1.37 2018/03/21 00:50:51 tom Exp $
  *
  *	Copyright (c) 1994, University of Kansas, All Rights Reserved
  *	(most of this file was rewritten in 1996 and 2004).
@@ -86,7 +86,6 @@ void LYexit(int status)
 {
 #ifndef VMS			/*  On VMS, the VMSexit() handler does these. - FM */
 #ifdef _WINDOWS
-    DeleteCriticalSection(&critSec_DNS);
     DeleteCriticalSection(&critSec_READ);
 
     WSACleanup();