[PATCH] main() prototypes

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Tue Dec 18 00:45:00 GMT 2001
Alan Modra wrote:
> On Thu, Dec 13, 2001 at 01:32:09AM +0100, Thiemo Seufer wrote:
> > 
> > 	/binutils/ChangeLog
> > 	* addr2line.c (main): Protoype.
> > 	* ar.c (main): Protoype.
> > 	* nm.c (main): Protoype.
> > 	* objcopy.c (main): Protoype.
> > 	* objdump.c (main): Protoype.
> > 	* size.c (main): Protoype.
> > 	* strings.c (main): Protoype.
> > 
> > 	/gas/ChangeLog
> > 	* gasp.c (main): Protoype.
> 
> OK (I think).  I'm hesitating a little because I suspect the lack of
> declaration for "main" may be due to brain-damaged systems that declare
> "void main ();".

Gas already has a main() prototype an nobody noticed. :-)

> Let's apply your patch and wait for complaints.

I'll do so.


Thiemo



More information about the Binutils mailing list