diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-04-22 16:01:29 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-04-22 16:01:29 +0000 |
commit | 38d2336a2356074209d055098c7646cc30eb43df (patch) | |
tree | d587aea0284879b9e223bbb698dfdcaff883189d /gcc/errors.c | |
parent | 7a29c1adc71d0f5817d9f893c138a236fc615a3e (diff) | |
download | gcc-38d2336a2356074209d055098c7646cc30eb43df.zip gcc-38d2336a2356074209d055098c7646cc30eb43df.tar.gz gcc-38d2336a2356074209d055098c7646cc30eb43df.tar.bz2 |
Makefile.in: Update dependencies.
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.
From-SVN: r146594
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 fcc3446..d89e14d 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; } |