From: Ian Lance Taylor Date: Thu, 7 May 1998 22:05:46 +0000 (+0000) Subject: If sysdep.h includes a header file, don't include it again: X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=980381afd70d945e6aac6d679a0499d30dbe70b5;p=deliverable%2Fbinutils-gdb.git If sysdep.h includes a header file, don't include it again: * aix386-core.c: Don't include , , or . * aoutx.h: Don't include . Use "sysdep.h" rather than . * archive.c: Don't include or . * evax-alpha.c; Don't include . * evax-egsd.c: Likewise. * evax-etir.c: Likewise. * evax-misc.c: Likewise. * evax-emh.c: Likewise. Also, don't include . * hppabsd-core.c: Don't include , , or . * hpux-core.c: Likewise. * netbsd-core.c: Likewise. * som.c: Likewise. * libbfd.c: Don't include . * nlmcode.h: Don't include . * osf-core.c: Don't include or . * ptrace-core.c: Don't include , , , or . * trad-core.c: Don't include or . --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fb202b42d2..efb6c42b97 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,30 @@ +Thu May 7 17:40:56 1998 Ian Lance Taylor + + * filemode.c: Remove; not used. + + If sysdep.h includes a header file, don't include it again: + * aix386-core.c: Don't include , , or + . + * aoutx.h: Don't include . Use "sysdep.h" rather than + . + * archive.c: Don't include or . + * evax-alpha.c; Don't include . + * evax-egsd.c: Likewise. + * evax-etir.c: Likewise. + * evax-misc.c: Likewise. + * evax-emh.c: Likewise. Also, don't include . + * hppabsd-core.c: Don't include , , or + . + * hpux-core.c: Likewise. + * netbsd-core.c: Likewise. + * som.c: Likewise. + * libbfd.c: Don't include . + * nlmcode.h: Don't include . + * osf-core.c: Don't include or . + * ptrace-core.c: Don't include , , + , or . + * trad-core.c: Don't include or . + Thu May 7 13:12:50 1998 Klaus Kaempf * configure.com: If the version number can not be found in diff --git a/bfd/evax-alpha.c b/bfd/evax-alpha.c index 542901f9a7..578e603a31 100644 --- a/bfd/evax-alpha.c +++ b/bfd/evax-alpha.c @@ -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 - #include "bfd.h" #include "sysdep.h" #include "bfdlink.h" diff --git a/bfd/evax-egsd.c b/bfd/evax-egsd.c index 25aebc4b6c..567fe46e14 100644 --- a/bfd/evax-egsd.c +++ b/bfd/evax-egsd.c @@ -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 #include #include "bfd.h" diff --git a/bfd/evax-emh.c b/bfd/evax-emh.c index 590fb81b56..79a63d2adb 100644 --- a/bfd/evax-emh.c +++ b/bfd/evax-emh.c @@ -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 #include #include "bfd.h" @@ -137,7 +136,6 @@ get_vms_time_string () { static unsigned char tbuf[18]; #ifndef VMS -#include #include char *pnt; diff --git a/bfd/evax-etir.c b/bfd/evax-etir.c index 4989baac20..3f7339b8fb 100644 --- a/bfd/evax-etir.c +++ b/bfd/evax-etir.c @@ -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 #include #include "bfd.h" diff --git a/bfd/evax-misc.c b/bfd/evax-misc.c index 856bb6e8a2..4dc74ed882 100644 --- a/bfd/evax-misc.c +++ b/bfd/evax-misc.c @@ -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 #endif -#include #include "bfd.h" #include "sysdep.h"