lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev [PATCH][dev10] Remove duplicate includes


From: Leonid Pauzner
Subject: Re: lynx-dev [PATCH][dev10] Remove duplicate includes
Date: Thu, 7 Oct 1999 18:17:46 +0400 (MSD)

6-Oct-99 20:28 John Bley wrote:

> * Remove a couple of duplicate includes - JB

I just found few more unused includes added from Win32 Hiroyuki patch
being integrated after 2.8.2rel.  See below.


> --ATTACHMENT-- text file <lynx-dev-10-Patch.txt>

> diff -Burp lynx2-8-3/WWW/Library/Implementation/HTFTP.c 
> lynx2-8-3-patched/WWW/Library/Implementation/HTFTP.c
> --- lynx2-8-3/WWW/Library/Implementation/HTFTP.c        Wed Sep 29 07:40:39 
> 1999
> +++ lynx2-8-3-patched/WWW/Library/Implementation/HTFTP.c        Tue Oct  5 
> 16:21:52 1999
> @@ -101,7 +101,6 @@ BUGS:       @@@     Limit connection cache size!
>  #define INFINITY 512
>
>  #include <HTParse.h>
> -#include <HTTCP.h>
>  #include <HTAnchor.h>
>  #include <HTFile.h>    /* For HTFileFormat() */
>  #include <HTBTree.h>
> diff -Burp lynx2-8-3/src/LYStyle.c lynx2-8-3-patched/src/LYStyle.c
> --- lynx2-8-3/src/LYStyle.c     Wed Sep 29 07:40:39 1999
> +++ lynx2-8-3-patched/src/LYStyle.c     Tue Oct  5 16:22:19 1999
> @@ -22,7 +22,6 @@
>  #include <LYexit.h>
>  #include <LYLeaks.h>
>  #include <LYStrings.h>
> -#include <LYUtils.h>
>
>  #ifdef USE_COLOR_STYLE



diff -u old/htaautil.c ./htaautil.c
--- old/htaautil.c      Wed Jul 14 09:25:26 1999
+++ ./htaautil.c        Thu Oct  7 15:08:08 1999
@@ -48,7 +48,6 @@
 #include <HTAAUtil.h>  /* Implemented here     */
 #include <HTAssoc.h>   /* Assoc list           */
 #include <HTTCP.h>
-#include <HTTP.h>

 #include <LYStrings.h>
 #include <LYLeaks.h>
diff -u old/htdos.c ./htdos.c
--- old/htdos.c Wed Jul 14 09:25:26 1999
+++ ./htdos.c   Thu Oct  7 15:10:10 1999
@@ -5,12 +5,6 @@
 #include <HTUtils.h>
 #include <HTDOS.h>

-#ifdef _WINDOWS
-#include <HTString.h>
-#include <stdio.h>
-#include <windows.h>
-#endif
-
 /*
  * Make a copy of the source argument in the result, allowing some extra
  * space so we can append directly onto the result without reallocating.
diff -u old/htftp.c ./htftp.c
--- old/htftp.c Thu Oct  7 12:35:12 1999
+++ ./htftp.c   Thu Oct  7 15:08:50 1999
@@ -78,8 +78,6 @@
 #include <HTUtils.h>

 #include <HTAlert.h>
-#include <HTTCP.h>
-#include <HTTP.h>

 #include <HTFTP.h>     /* Implemented here */

diff -u old/lycurses.c ./lycurses.c
--- old/lycurses.c      Thu Oct  7 12:43:06 1999
+++ ./lycurses.c        Thu Oct  7 14:21:24 1999
@@ -942,7 +942,7 @@
                  NULL);
     } else
        mousemask(0, NULL);
-#endif /* _WIN_CC and PDCURSES */
+#endif /* WIN_EX and PDCURSES */
 #endif /* NCURSES_MOUSE_VERSION */

 #if defined(DJGPP) && !defined(USE_SLANG)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]