Remove warnings from RTEMS crt0.c
Joel Sherrill
joel.sherrill@oarcorp.com
Wed Aug 3 05:38:00 GMT 2011
Hi,
The RTEMS crt0.c is just a stub so autoconf
will find methods. It uses a macro to
generate stub bodies for routines we want
autoconf to find that are not in libc.
The macro that generates the stubs does
not generate a return statement with properly
typed argument. So when you do a -Wall, you
get lots of warnings. This just eliminates
the warnings.
OK to commit?
2011-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/sys/crt0.c: Fix warnings.
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crt0.diff
URL: <http://sourceware.org/pipermail/newlib/attachments/20110803/c854282c/attachment.ksh>
More information about the Newlib
mailing list