If sysdep.h includes a header file, don't include it again:
authorIan Lance Taylor <ian@airs.com>
Thu, 7 May 1998 22:05:46 +0000 (22:05 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 7 May 1998 22:05:46 +0000 (22:05 +0000)
* aix386-core.c: Don't include <stdio.h>, <stddef.h>, or
<errno.h>.
* aoutx.h: Don't include <string.h>.  Use "sysdep.h" rather than
<sysdep.h>.
* archive.c: Don't include <string.h> or <errno.h>.
* evax-alpha.c; Don't include <stdio.h>.
* evax-egsd.c: Likewise.
* evax-etir.c: Likewise.
* evax-misc.c: Likewise.
* evax-emh.c: Likewise.  Also, don't include <sys/types.h>.
* hppabsd-core.c: Don't include <stdio.h>, <sys/types.h>, or
<errno.h>.
* hpux-core.c: Likewise.
* netbsd-core.c: Likewise.
* som.c: Likewise.
* libbfd.c: Don't include <sys/types.h>.
* nlmcode.h: Don't include <string.h>.
* osf-core.c: Don't include <string.h> or <stdio.h>.
* ptrace-core.c: Don't include <stdio.h>, <sys/types.h>,
<errno.h>, or <unistd.h>.
* trad-core.c: Don't include <stdio.h> or <sys/types.h>.

bfd/ChangeLog
bfd/evax-alpha.c
bfd/evax-egsd.c
bfd/evax-emh.c
bfd/evax-etir.c
bfd/evax-misc.c

index fb202b42d2772296ae7d302b5313351ba09f0ec8..efb6c42b9750176d86c96b10a629eb596a22a3e1 100644 (file)
@@ -1,3 +1,30 @@
+Thu May  7 17:40:56 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * filemode.c: Remove; not used.
+
+       If sysdep.h includes a header file, don't include it again:
+       * aix386-core.c: Don't include <stdio.h>, <stddef.h>, or
+       <errno.h>.
+       * aoutx.h: Don't include <string.h>.  Use "sysdep.h" rather than
+       <sysdep.h>.
+       * archive.c: Don't include <string.h> or <errno.h>.
+       * evax-alpha.c; Don't include <stdio.h>.
+       * evax-egsd.c: Likewise.
+       * evax-etir.c: Likewise.
+       * evax-misc.c: Likewise.
+       * evax-emh.c: Likewise.  Also, don't include <sys/types.h>.
+       * hppabsd-core.c: Don't include <stdio.h>, <sys/types.h>, or
+       <errno.h>.
+       * hpux-core.c: Likewise.
+       * netbsd-core.c: Likewise.
+       * som.c: Likewise.
+       * libbfd.c: Don't include <sys/types.h>.
+       * nlmcode.h: Don't include <string.h>.
+       * osf-core.c: Don't include <string.h> or <stdio.h>.
+       * ptrace-core.c: Don't include <stdio.h>, <sys/types.h>,
+       <errno.h>, or <unistd.h>.
+       * trad-core.c: Don't include <stdio.h> or <sys/types.h>.
+
 Thu May  7 13:12:50 1998  Klaus Kaempf  <kkaempf@progis.de>
 
        * configure.com: If the version number can not be found in
index 542901f9a758a88d973ffdee10236b3b289556ae..578e603a31620e90724ceaa17907ad6b8878bc59 100644 (file)
@@ -17,9 +17,6 @@ You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
-
-#include <stdio.h>
-
 #include "bfd.h"
 #include "sysdep.h"
 #include "bfdlink.h"
index 25aebc4b6cb95457f2b423842f55537d51f19442..567fe46e1444e8001dc8db04437ba5e02853fb43 100644 (file)
@@ -1,5 +1,5 @@
 /* evax-egsd.c -- BFD back-end for ALPHA EVAX (openVMS/Alpha) files.
-   Copyright 1996, 1997 Free Software Foundation Inc.
+   Copyright 1996, 1997, 1998 Free Software Foundation Inc.
 
    go and read the openVMS linker manual (esp. appendix B)
    if you don't know what's going on here :-)
@@ -22,7 +22,6 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 
-#include <stdio.h>
 #include <ctype.h>
 
 #include "bfd.h"
index 590fb81b5649e92d3655706fa1bf784c0132730b..79a63d2adbb35edb3e14b334d9e2fb3279c27b6d 100644 (file)
@@ -1,5 +1,5 @@
 /* evax-emh.c -- BFD back-end for ALPHA EVAX (openVMS/Alpha) files.
-   Copyright 1996, 1997 Free Software Foundation, Inc.
+   Copyright 1996, 1997, 1998 Free Software Foundation, Inc.
 
    EMH record handling functions
    and
@@ -22,7 +22,6 @@ You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
-#include <stdio.h>
 #include <ctype.h>
 
 #include "bfd.h"
@@ -137,7 +136,6 @@ get_vms_time_string ()
 {
   static unsigned char tbuf[18];
 #ifndef VMS
-#include <sys/types.h>
 #include <time.h>
 
   char *pnt;
index 4989baac20d631411f0411d34f33807c4220fe03..3f7339b8fbdb9e168dc97f0ff7156b10b515b025 100644 (file)
@@ -1,5 +1,5 @@
 /* evax-etir.c -- BFD back-end for ALPHA EVAX (openVMS/Alpha) files.
-   Copyright 1996, 1997 Free Software Foundation, Inc.
+   Copyright 1996, 1997, 1998 Free Software Foundation, Inc.
    ETIR record handling functions
 
    go and read the openVMS linker manual (esp. appendix B)
@@ -32,7 +32,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
        qw      quadword (8 byte, 64 bit)
        da      data stream  */
 
-#include <stdio.h>
 #include <ctype.h>
 
 #include "bfd.h"
index 856bb6e8a27f081e949e56814af28efc06476807..4dc74ed88257618ec49e03b01500a753b9171f5b 100644 (file)
@@ -1,5 +1,5 @@
 /* evax-misc.c -- Miscellaneous functions for ALPHA EVAX (openVMS/Alpha) files.
-   Copyright 1996, 1997 Free Software Foundation, Inc.
+   Copyright 1996, 1997, 1998 Free Software Foundation, Inc.
 
    Written by Klaus K"ampf (kkaempf@progis.de)
    of proGIS Softwareentwicklung, Aachen, Germany
@@ -22,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #if __STDC__
 #include <stdarg.h>
 #endif
-#include <stdio.h>
 
 #include "bfd.h"
 #include "sysdep.h"
This page took 0.041013 seconds and 4 git commands to generate.