From 86931af817fb28cfa015abca52e801ad2ee3861a Mon Sep 17 00:00:00 2001 From: manu Date: Wed, 22 Apr 2009 16:01:29 +0000 Subject: 2009-04-22 Manuel Lopez-Ibanez * 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 --- gcc/errors.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gcc/errors.c') 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; } -- cgit v1.2.1