about summary refs log tree commit diff
path: root/soft-fp/gesf2.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-06-14 19:21:34 +0000
committerJakub Jelinek <jakub@redhat.com>2007-06-14 19:21:34 +0000
commitae8e81f5969cf8a7e203501b7997d307bc0d06e7 (patch)
tree1260c485489ceb27383cf1438f496202a2a918a5 /soft-fp/gesf2.c
parent90cd2413df749eff9d055ef1868b616a65cf3fef (diff)
downloadglibc-ae8e81f5969cf8a7e203501b7997d307bc0d06e7.tar.gz
glibc-ae8e81f5969cf8a7e203501b7997d307bc0d06e7.tar.xz
glibc-ae8e81f5969cf8a7e203501b7997d307bc0d06e7.zip
* soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined.
* soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int 
as the return type.  Change type of "r" variable to CMPtype. 
* soft-fp/eqsf2.c (__eqsf2): Likewise. 
* soft-fp/eqtf2.c (__eqtf2): Likewise. 
* soft-fp/gedf2.c (__gedf2): Likewise. 
* soft-fp/gesf2.c (__gesf2): Likewise. 
* soft-fp/getf2.c (__getf2): Likewise. 
* soft-fp/ledf2.c (__ledf2): Likewise. 
* soft-fp/lesf2.c (__lesf2): Likewise. 
* soft-fp/letf2.c (__letf2): Likewise. 
* soft-fp/unorddf2 (__unorddf2): Likewise. 
* soft-fp/unordsf2 (__unordsf2): Likewise. 
* soft-fp/unordtf2 (__unordtf2): Likewise.
2007-06-14 Uros Bizjak <ubizjak@gmail.com>

	* soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined.
	* soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int
	as the return type.  Change type of "r" variable to CMPtype.
	* soft-fp/eqsf2.c (__eqsf2): Likewise.
	* soft-fp/eqtf2.c (__eqtf2): Likewise.
	* soft-fp/gedf2.c (__gedf2): Likewise.
	* soft-fp/gesf2.c (__gesf2): Likewise.
	* soft-fp/getf2.c (__getf2): Likewise.
	* soft-fp/ledf2.c (__ledf2): Likewise.
	* soft-fp/lesf2.c (__lesf2): Likewise.
	* soft-fp/letf2.c (__letf2): Likewise.
	* soft-fp/unorddf2 (__unorddf2): Likewise.
	* soft-fp/unordsf2 (__unordsf2): Likewise.
	* soft-fp/unordtf2 (__unordtf2): Likewise.
Diffstat (limited to 'soft-fp/gesf2.c')
-rw-r--r--soft-fp/gesf2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/soft-fp/gesf2.c b/soft-fp/gesf2.c
index d1f3ba2f9f..609a61f31d 100644
--- a/soft-fp/gesf2.c
+++ b/soft-fp/gesf2.c
@@ -1,6 +1,6 @@
 /* Software floating-point emulation.
    Return 0 iff a == b, 1 iff a > b, -2 iff a ? b, -1 iff a < b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,11 +32,11 @@
 #include "soft-fp.h"
 #include "single.h"
 
-int __gesf2(SFtype a, SFtype b)
+CMPtype __gesf2(SFtype a, SFtype b)
 {
   FP_DECL_EX;
   FP_DECL_S(A); FP_DECL_S(B);
-  int r;
+  CMPtype r;
 
   FP_UNPACK_RAW_S(A, a);
   FP_UNPACK_RAW_S(B, b);