[PATCH] sh: provide a __set_fpscr prototype

Mike Frysinger vapier@gentoo.org
Wed Dec 2 13:12:00 GMT 2009


On Tuesday 01 December 2009 23:01:15 Kaz Kojima wrote:
> Mike Frysinger <vapier@gentoo.org> wrote:
> > The sh port uses the gcc __set_fpscr internal function, but neither gcc
> > nor glibc creates a prototype for it.  This leads to a bunch of random
> > warnings about implicit decls during the build.
> 
> Thanks for the patch.  OK with fixing a minor coding style issue:
> > +/* GCC provides this function */
> 
> Period and one more space after it.
> 
> > +extern void __set_fpscr(unsigned long);
> 
> Space before '('.

ah, sorry about those.  i forget the gnu style sometimes ;x.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20091202/6c2a5199/attachment.sig>


More information about the Libc-alpha mailing list