This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes: > > > I might try writing a script that finds externs in config/ that are > > > also outside config/, because they're a PITA. > > > > That would be great IMO - and then let's check also for multiple > > declarations in .h and .c files everywhere... > > Andreas > > Try compiling GCC with -Wredundant-decls. At one point (Apr 2001) I > went through and zapped a bunch of low-hanging fruit. We've probably > accumulated more cruft since then. This gives far too many warnings to handle ;-(. But some of them are obvious like the appended one. I'm testing now on i686-linux-gnu and will commit as obvious later, Andreas 2003-06-16 Andreas Jaeger <aj@suse.de> * tree.h: Remove duplicate prototype of strip_float_extensions. ============================================================ Index: gcc/tree.h --- gcc/tree.h 15 Jun 2003 13:43:31 -0000 1.409 +++ gcc/tree.h 16 Jun 2003 06:26:22 -0000 @@ -2780,7 +2780,6 @@ extern tree fold_builtin PARAMS ((tre extern enum built_in_function builtin_mathfn_code PARAMS ((tree)); extern tree build_function_call_expr PARAMS ((tree, tree)); extern tree mathfn_built_in PARAMS ((tree, enum built_in_function fn)); -extern tree strip_float_extensions PARAMS ((tree)); /* In convert.c */ extern tree strip_float_extensions PARAMS ((tree)); -- Andreas Jaeger, SuSE Linux AG, aj@suse.de, http://www.suse.de/~aj GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |