From e9792343ae2561dd2f4636fdf9b3d2959cd6e7ae Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 25 May 2002 12:51:38 +0000 Subject: [PATCH] * arlex.l: Use #include "" instead of <> for local header files. * coffdump.c: Likewise. * coffgrok.c: Likewise. * nlmconv.c: Likewise. * nlmheader.y: Likewise. * srconv.c: Likewise. * strings.c: Likewise. * sysdump.c: Likewise. * unwind-ia64.h: Likewise. * windres.h: Likewise. * winduni.h: Likewise. --- binutils/ChangeLog | 14 ++++++++++++++ binutils/arlex.l | 4 ++-- binutils/coffdump.c | 4 ++-- binutils/coffgrok.c | 7 ++++--- binutils/nlmconv.c | 4 ++-- binutils/nlmheader.y | 2 +- binutils/srconv.c | 6 +++--- binutils/strings.c | 2 +- binutils/sysdump.c | 4 ++-- binutils/unwind-ia64.h | 6 +++--- binutils/windres.h | 2 +- binutils/winduni.h | 4 ++-- 12 files changed, 37 insertions(+), 22 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index c144d23b459..fcee558fb56 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,17 @@ +2002-05-25 Alan Modra + + * arlex.l: Use #include "" instead of <> for local header files. + * coffdump.c: Likewise. + * coffgrok.c: Likewise. + * nlmconv.c: Likewise. + * nlmheader.y: Likewise. + * srconv.c: Likewise. + * strings.c: Likewise. + * sysdump.c: Likewise. + * unwind-ia64.h: Likewise. + * windres.h: Likewise. + * winduni.h: Likewise. + 2002-05-24 Tom Rix * MAINTAINERS: Add self as the d10v maintainer. diff --git a/binutils/arlex.l b/binutils/arlex.l index 381b177cc02..c1771a55840 100644 --- a/binutils/arlex.l +++ b/binutils/arlex.l @@ -1,7 +1,7 @@ %{ /* arlex.l - Strange script language lexer */ -/* Copyright 1992, 1997, 2000 Free Software Foundation, Inc. +/* Copyright 1992, 1997, 2000, 2002 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -25,7 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ */ #define DONTDECLARE_MALLOC -#include +#include "ansidecl.h" #include "libiberty.h" #include "arparse.h" diff --git a/binutils/coffdump.c b/binutils/coffdump.c index 34ae161e3e6..8f538e89279 100644 --- a/binutils/coffdump.c +++ b/binutils/coffdump.c @@ -23,8 +23,8 @@ This module reads a type tree generated by coffgrok and prints it out so we can test the grokker. */ -#include -#include +#include "bfd.h" +#include "libiberty.h" #include "coffgrok.h" #include "bucomm.h" diff --git a/binutils/coffgrok.c b/binutils/coffgrok.c index b439cdfd2aa..8cab8d57eb1 100644 --- a/binutils/coffgrok.c +++ b/binutils/coffgrok.c @@ -1,5 +1,6 @@ /* coffgrok.c - Copyright 1994, 1995, 1997, 1998, 2000, 2001 Free Software Foundation, Inc. + Copyright 1994, 1995, 1997, 1998, 2000, 2001, 2002 + Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -25,8 +26,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ */ -#include -#include +#include "bfd.h" +#include "libiberty.h" #include "bucomm.h" #include "coff/internal.h" diff --git a/binutils/nlmconv.c b/binutils/nlmconv.c index 74e08044ce7..376292fd34b 100644 --- a/binutils/nlmconv.c +++ b/binutils/nlmconv.c @@ -37,12 +37,12 @@ #include "bucomm.h" #include "safe-ctype.h" -#include +#include "ansidecl.h" #include #include #include #include -#include +#include "getopt.h" /* Internal BFD NLM header. */ #include "libnlm.h" diff --git a/binutils/nlmheader.y b/binutils/nlmheader.y index 3df603d0098..01bb5e8ea50 100644 --- a/binutils/nlmheader.y +++ b/binutils/nlmheader.y @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ This implementation is based on the description in the NetWare Tool Maker Specification manual, edition 1.0. */ -#include +#include "ansidecl.h" #include #include "safe-ctype.h" #include "bfd.h" diff --git a/binutils/srconv.c b/binutils/srconv.c index 8d1c00de349..a45437fd534 100644 --- a/binutils/srconv.c +++ b/binutils/srconv.c @@ -26,12 +26,12 @@ All debugging information is preserved */ -#include +#include "bfd.h" #include "bucomm.h" #include "sysroff.h" #include "coffgrok.h" -#include -#include +#include "libiberty.h" +#include "getopt.h" #include "coff/internal.h" #include "../bfd/libcoff.h" diff --git a/binutils/strings.c b/binutils/strings.c index 35078316170..dade2444182 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -61,7 +61,7 @@ #endif #include "bfd.h" #include -#include +#include "getopt.h" #include #include "bucomm.h" #include "libiberty.h" diff --git a/binutils/sysdump.c b/binutils/sysdump.c index 1dc01e0ede7..2d0362bcf7a 100644 --- a/binutils/sysdump.c +++ b/binutils/sysdump.c @@ -30,8 +30,8 @@ #include "safe-ctype.h" #include -#include -#include +#include "libiberty.h" +#include "getopt.h" #include "sysroff.h" static int dump = 1; diff --git a/binutils/unwind-ia64.h b/binutils/unwind-ia64.h index d80e46a0258..7d5033d8eb1 100644 --- a/binutils/unwind-ia64.h +++ b/binutils/unwind-ia64.h @@ -1,5 +1,5 @@ /* unwind-ia64.h -- dump IA-64 unwind info. - Copyright 2000, 2001 Free Software Foundation, Inc. + Copyright 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by David Mosberger-Tang This file is part of GNU Binutils. @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include -#include +#include "elf/ia64.h" +#include "ansidecl.h" #define UNW_VER(x) ((x) >> 48) #define UNW_FLAG_MASK 0x0000ffff00000000 diff --git a/binutils/windres.h b/binutils/windres.h index 64b6050430a..177b1eecdeb 100644 --- a/binutils/windres.h +++ b/binutils/windres.h @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include +#include "ansidecl.h" /* This is the header file for the windres program. It defines structures and declares functions used within the program. */ diff --git a/binutils/winduni.h b/binutils/winduni.h index 13a9af2e736..c55189c273a 100644 --- a/binutils/winduni.h +++ b/binutils/winduni.h @@ -1,5 +1,5 @@ /* winduni.h -- header file for unicode support for windres program. - Copyright 1997, 1998 Free Software Foundation, Inc. + Copyright 1997, 1998, 2002 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support. This file is part of GNU Binutils. @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include +#include "ansidecl.h" /* This header file declares the types and functions we use for unicode support in windres. Our unicode support is very limited at -- 2.30.2