This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] main() prototypes
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 18 Dec 2001 14:14:59 +1030
- Subject: Re: [PATCH] main() prototypes
- References: <20011213013209.E487@rembrandt.csv.ica.uni-stuttgart.de>
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 ();". Let's apply your patch and wait for complaints.
Alan