diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-22 16:01:29 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-22 16:01:29 +0000 |
commit | 86931af817fb28cfa015abca52e801ad2ee3861a (patch) | |
tree | d587aea0284879b9e223bbb698dfdcaff883189d /gcc/errors.c | |
parent | 1105fde0f0275e0fdbdb76c1b4a707910af245e1 (diff) | |
download | gcc-86931af817fb28cfa015abca52e801ad2ee3861a.tar.gz |
2009-04-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* Makefile.in: Update dependencies.
* errors.c (warning): Remove unused parameter 'opt'. Returns
'void'.
* errors.h: Remove bogus comment about compatibility.
(warning): Update declaration.
* genautomata.c: Update all calls to warning.
* gimple.c: Do not include errors.h. Include toplev.h.
* tree-ssa-structalias.c: Do not include errors.h.
* omega.c: Likewise.
* tree-ssa-reassoc.c: Likewise.
* config/spu/spu-c.c: Likewise.
* config/spu/t-spu-elf: Update dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146594 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/errors.c')
-rw-r--r-- | gcc/errors.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/errors.c b/gcc/errors.c index fcc3446d270..d89e14d94d6 100644 --- a/gcc/errors.c +++ b/gcc/errors.c @@ -40,8 +40,8 @@ int have_error = 0; /* Print a warning message - output produced, but there may be problems. */ -bool -warning (int opt ATTRIBUTE_UNUSED, const char *format, ...) +void +warning (const char *format, ...) { va_list ap; @@ -50,7 +50,6 @@ warning (int opt ATTRIBUTE_UNUSED, const char *format, ...) vfprintf (stderr, format, ap); va_end (ap); fputc('\n', stderr); - return true; } |