aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames E Wilson <wilson@specifixinc.com>2004-09-14 03:45:46 +0000
committerJim Wilson <wilson@gcc.gnu.org>2004-09-13 20:45:46 -0700
commita140c081d1130e37116f5465d8db6eb58d7b0a60 (patch)
tree9bf83451404763b7d3bfafc37ce10b5e970bd7e1
parentc630383379446d33b1c84bff65f0387e0a8b9372 (diff)
downloadgcc-a140c081d1130e37116f5465d8db6eb58d7b0a60.zip
gcc-a140c081d1130e37116f5465d8db6eb58d7b0a60.tar.gz
gcc-a140c081d1130e37116f5465d8db6eb58d7b0a60.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/Makefile.in2
-rw-r--r--gcc/gen-protos.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8e52c75..82665c5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-13 James E Wilson <wilson@specifixinc.com>
+
+ * Makefile.in (GEN_PROTOS_OBJS): Add $(BUILD_ERRORS).
+ * gen-protos.c: Include errors.h.
+ (progname): Delete.
+
2004-09-14 Jan Hubicka <jh@suse.cz>
* Makefile.in (predict.o): Depend on tree-scalar-evolution.h
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index aa45b73..ad61b55 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 453b729..17e435f 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 *);