diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-11-05 09:12:56 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-11-05 09:12:56 +0000 |
commit | 087cf8a61ebf46aba5ae18f8f829fe2102a41b0d (patch) | |
tree | 8c37376339758bfc64aa96f13de8864bcc53611b /gcc | |
parent | 2d08016c6268fbfc6d71c20f30fb98214fe71c82 (diff) | |
download | gcc-087cf8a61ebf46aba5ae18f8f829fe2102a41b0d.tar.gz |
* genoutput.c (null_operand =): Initialize all fields.
* errors.h: Add extern to prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30410 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/errors.h | 6 | ||||
-rw-r--r-- | 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 <aj@suse.de> + + * 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; |