From a140c081d1130e37116f5465d8db6eb58d7b0a60 Mon Sep 17 00:00:00 2001 From: James E Wilson Date: Tue, 14 Sep 2004 03:45:46 +0000 Subject: [PATCH] Fix gen-proto (fixproto) build failure. * Makefile.in (GEN_PROTOS_OBJS): Add $(BUILD_ERRORS). * gen-protos.c: Include errors.h. (progname): Delete. From-SVN: r87480 --- gcc/ChangeLog | 6 ++++++ gcc/Makefile.in | 2 +- gcc/gen-protos.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e52c7569bf..82665c53baf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-09-13 James E Wilson + + * Makefile.in (GEN_PROTOS_OBJS): Add $(BUILD_ERRORS). + * gen-protos.c: Include errors.h. + (progname): Delete. + 2004-09-14 Jan Hubicka * Makefile.in (predict.o): Depend on tree-scalar-evolution.h diff --git a/gcc/Makefile.in b/gcc/Makefile.in index aa45b739796..ad61b55ed88 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2839,7 +2839,7 @@ deduced.h: $(GCC_PASSES) $(srcdir)/scan-types.sh stmp-int-hdrs $(STAMP) deduced.h; \ fi -GEN_PROTOS_OBJS = gen-protos.o scan.o +GEN_PROTOS_OBJS = gen-protos.o scan.o $(BUILD_ERRORS) gen-protos$(build_exeext): $(GEN_PROTOS_OBJS) ${CC_FOR_BUILD} $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o $@ \ $(GEN_PROTOS_OBJS) $(BUILD_LIBS) diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c index 453b7298046..17e435fde77 100644 --- a/gcc/gen-protos.c +++ b/gcc/gen-protos.c @@ -21,9 +21,9 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "coretypes.h" #include "tm.h" #include "scan.h" +#include "errors.h" int verbose = 0; -const char *progname; static void add_hash (const char *); static int parse_fn_proto (char *, char *, struct fn_decl *); -- 2.30.2