This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

Re: [PATCH] main() prototypes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]