Mercurial > hg > CbC > CbC_gcc
diff gcc/errors.c @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
line wrap: on
line diff
--- a/gcc/errors.c Sun Feb 07 18:28:00 2010 +0900 +++ b/gcc/errors.c Fri Feb 12 23:39:51 2010 +0900 @@ -40,8 +40,8 @@ /* 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 @@ vfprintf (stderr, format, ap); va_end (ap); fputc('\n', stderr); - return true; } @@ -105,7 +104,8 @@ shares no directory elements with the pathname of __FILE__. This is used by fancy_abort() to print `Internal compiler error in expr.c' instead of `Internal compiler error in ../../GCC/gcc/expr.c'. This - version if for the gen* programs and so needn't handle subdirectories. */ + version is meant to be used for the gen* programs and therefor need not + handle subdirectories. */ const char * trim_filename (const char *name)