From: wilson Date: Tue, 14 Sep 2004 03:45:46 +0000 (+0000) Subject: Fix gen-proto (fixproto) build failure. X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=1eca1e86c89c3ef4288ea8c12ff621a58fe2a8e5 Fix gen-proto (fixproto) build failure. * Makefile.in (GEN_PROTOS_OBJS): Add $(BUILD_ERRORS). * gen-protos.c: Include errors.h. (progname): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87480 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 *);