General cleanup

Ken Werner ken@linux.vnet.ibm.com
Fri Dec 12 00:02:00 GMT 2008


On Wednesday 26 November 2008 00:04, Howland Craig D (Craig) wrote:
> The attached patch does a lot of cleanup (primarily with function
> prototypes) aimed at reducing the number of compilation warnings.
> (Using gcc -Wall -Wstrict-prototypes -Wmissing-prototypes, the changes
> supplied get rid of ~257 warnings.  139 of them were "statement has no
> effect" warnings, and almost all the rest were prototype related.)  It
> does not get rid of all of the prototype-related warnings, as I left
> many
> that are either of low interest or much work to fix, but I made a really
> good dent in them.
> 				Craig
Hi Craig,

I noticed you changed the signature of gettimeofday in sys/time.h. According 
to the Open Group specification the type of the second argument should void* 
or am I missing something? Here's the URL: 
http://www.opengroup.org/onlinepubs/009695399/functions/gettimeofday.html

Regards
Ken



More information about the Newlib mailing list