Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch/sh3/softfloat Add missing prototypes to make s...



details:   https://anonhg.NetBSD.org/src/rev/2a9f33524360
branches:  trunk
changeset: 550772:2a9f33524360
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Aug 21 02:12:33 2003 +0000

description:
Add missing prototypes to make softfloat compile with -DSOFTFLOAT_NEED_FIXUNS.

diffstat:

 lib/libc/arch/sh3/softfloat/softfloat.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r c1a68fc6fbbe -r 2a9f33524360 lib/libc/arch/sh3/softfloat/softfloat.h
--- a/lib/libc/arch/sh3/softfloat/softfloat.h   Thu Aug 21 00:01:28 2003 +0000
+++ b/lib/libc/arch/sh3/softfloat/softfloat.h   Thu Aug 21 02:12:33 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: softfloat.h,v 1.7 2002/05/12 13:12:47 bjh21 Exp $      */
+/*     $NetBSD: softfloat.h,v 1.8 2003/08/21 02:12:33 uwe Exp $        */
 
 /* This is a derivative work. */
 
@@ -143,6 +143,9 @@
 */
 int float32_to_int32( float32 );
 int float32_to_int32_round_to_zero( float32 );
+#if defined(SOFTFLOAT_FOR_GCC) && defined(SOFTFLOAT_NEED_FIXUNS)
+unsigned int float32_to_uint32_round_to_zero( float32 );
+#endif
 #ifndef SOFTFLOAT_FOR_GCC /* __fix?fdi provided by libgcc2.c */
 long long float32_to_int64( float32 );
 long long float32_to_int64_round_to_zero( float32 );
@@ -184,6 +187,9 @@
 */
 int float64_to_int32( float64 );
 int float64_to_int32_round_to_zero( float64 );
+#if defined(SOFTFLOAT_FOR_GCC) && defined(SOFTFLOAT_NEED_FIXUNS)
+unsigned int float64_to_uint32_round_to_zero( float64 );
+#endif
 #ifndef SOFTFLOAT_FOR_GCC /* __fix?fdi provided by libgcc2.c */
 long long float64_to_int64( float64 );
 long long float64_to_int64_round_to_zero( float64 );



Home | Main Index | Thread Index | Old Index