Message-ID: <3DC3E2E5.8AA59996@yahoo.com> Date: Sat, 02 Nov 2002 09:36:21 -0500 From: CBFalconer Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: LIBC 2.04 new function atoll() implementation References: <001401c28231$db1d3cd0$0100a8c0 AT p4> <6480-Sat02Nov2002110417+0200-eliz AT is DOT elta DOT co DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Eli Zaretskii wrote: > > From: "Andrew Cottrell" > > Date: Sat, 2 Nov 2002 16:36:21 +1100 > > > > Below are atoll.c and atoll.txh, which together implement the missing > > atoll() function. I copied the existing atol.c and atol.txh and made > > hopefully the correct changes. Please let me know if I have made any > > mistakes as I don't know if I got the compatability right. > > It's fine with me. A very minor thought - no parameter gets re-evaluated, so wouldn't it be simpler to just define a macro? The routine is still needed in case joe-bob makes a pointer. And why does it specify C89 compatibility, when there was no long long in C89? -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net) Available for consulting/temporary embedded and systems. USE worldnet address!