From f4e2ed09c9c0251b5df11c1f800b2f51f5815593 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 5 Nov 1999 10:12:56 +0100 Subject: [PATCH] genoutput.c (null_operand =): Initialize all fields. * genoutput.c (null_operand =): Initialize all fields. * errors.h: Add extern to prototypes. From-SVN: r30410 --- gcc/ChangeLog | 6 ++++++ gcc/errors.h | 6 +++--- gcc/genoutput.c | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80da4d24f8e..59145c0cbdd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +1999-11-05 Andreas Jaeger + + * genoutput.c (null_operand =): Initialize all fields. + + * errors.h: Add extern to prototypes. + Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com) * configure.in (m68k-next-nextstep4): Handle Openstep 4.2. diff --git a/gcc/errors.h b/gcc/errors.h index cd9ebb152ea..6e5439fbafa 100644 --- a/gcc/errors.h +++ b/gcc/errors.h @@ -25,9 +25,9 @@ Boston, MA 02111-1307, USA. */ #ifndef __GCC_ERRORS_H__ #define __GCC_ERRORS_H__ -void warning PVPROTO ((const char *format, ...)) ATTRIBUTE_PRINTF_1; -void error PVPROTO ((const char *format, ...)) ATTRIBUTE_PRINTF_1; -void fatal PVPROTO ((const char *format, ...)) +extern void warning PVPROTO ((const char *format, ...)) ATTRIBUTE_PRINTF_1; +extern void error PVPROTO ((const char *format, ...)) ATTRIBUTE_PRINTF_1; +extern void fatal PVPROTO ((const char *format, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; extern int have_error; diff --git a/gcc/genoutput.c b/gcc/genoutput.c index bc0ac4529b3..8e277ef1a90 100644 --- a/gcc/genoutput.c +++ b/gcc/genoutput.c @@ -140,7 +140,7 @@ struct operand_data static struct operand_data null_operand = { - 0, 0, "", "", VOIDmode, 0, 0, 0, 0 + 0, 0, "", "", VOIDmode, 0, 0, 0, 0, 0 }; static struct operand_data *odata = &null_operand; -- 2.30.2