aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-05-07 22:05:46 +0000
committerIan Lance Taylor <ian@airs.com>1998-05-07 22:05:46 +0000
commit980381afd70d945e6aac6d679a0499d30dbe70b5 (patch)
tree10b8daf459ce73719208fed247f918c6823cde15 /bfd
parent62ebd0a8806244f2fc2c9c2476eb6c7b945ef116 (diff)
downloadfsf-binutils-gdb-980381afd70d945e6aac6d679a0499d30dbe70b5.zip
fsf-binutils-gdb-980381afd70d945e6aac6d679a0499d30dbe70b5.tar.gz
fsf-binutils-gdb-980381afd70d945e6aac6d679a0499d30dbe70b5.tar.bz2
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>.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog27
-rw-r--r--bfd/evax-alpha.c3
-rw-r--r--bfd/evax-egsd.c3
-rw-r--r--bfd/evax-emh.c4
-rw-r--r--bfd/evax-etir.c3
-rw-r--r--bfd/evax-misc.c3
6 files changed, 31 insertions, 12 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fb202b4..efb6c42 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/evax-alpha.c b/bfd/evax-alpha.c
index 542901f..578e603 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 <stdio.h>
-
#include "bfd.h"
#include "sysdep.h"
#include "bfdlink.h"
diff --git a/bfd/evax-egsd.c b/bfd/evax-egsd.c
index 25aebc4..567fe46 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 <stdio.h>
#include <ctype.h>
#include "bfd.h"
diff --git a/bfd/evax-emh.c b/bfd/evax-emh.c
index 590fb81..79a63d2 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 <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;
diff --git a/bfd/evax-etir.c b/bfd/evax-etir.c
index 4989baa..3f7339b 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 <stdio.h>
#include <ctype.h>
#include "bfd.h"
diff --git a/bfd/evax-misc.c b/bfd/evax-misc.c
index 856bb6e..4dc74ed 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 <stdarg.h>
#endif
-#include <stdio.h>
#include "bfd.h"
#include "sysdep.h"