This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH, libgcc: silence tf-signs.c warnings


This patch adds prototypes for the two functions in tf-signs.c.  As
these files are proper citizens of the GCC source tree, it seems more
sensible to fix them than to throw away the missing prototype
warning.  ;-)

Tested with a boostrap on i686-pc-linux-gnu.  Okay for the trunk?  

Thanks,
Ben

2009-01-16  Ben Elliston  <bje@au.ibm.com>

        * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.

Index: config/i386/32/tf-signs.c
===================================================================
--- config/i386/32/tf-signs.c   (revision 143412)
+++ config/i386/32/tf-signs.c   (working copy)
@@ -40,6 +40,9 @@ union _FP_UNION_Q
    } bits __attribute__((packed));
 };
 
+__float128 __copysigntf3 (__float128, __float128);
+__float128 __fabstf2 (__float128);
+
 __float128
 __copysigntf3 (__float128 a, __float128 b)
 {



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]