summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-14 03:45:46 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-14 03:45:46 +0000
commit1eca1e86c89c3ef4288ea8c12ff621a58fe2a8e5 (patch)
tree9bf83451404763b7d3bfafc37ce10b5e970bd7e1
parent7a64179285a815ad5fef3a351a48e72826671f70 (diff)
downloadgcc-1eca1e86c89c3ef4288ea8c12ff621a58fe2a8e5.tar.gz
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
-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 8e52c7569bf..82665c53baf 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 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 *);