From: Joseph Myers Date: Wed, 5 Dec 2012 18:11:55 +0000 (+0000) Subject: Specify powerpc-nofpu fegetexceptflag return type. X-Git-Tag: upstream/2.30~9795 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea2c5872e2f63415d4126dd8845c93c3a45e3e05;p=external%2Fglibc.git Specify powerpc-nofpu fegetexceptflag return type. --- diff --git a/ports/ChangeLog.powerpc b/ports/ChangeLog.powerpc index cd7afb2..3233b2c 100644 --- a/ports/ChangeLog.powerpc +++ b/ports/ChangeLog.powerpc @@ -1,3 +1,8 @@ +2012-12-05 Joseph Myers + + * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag): + Specify return type as int. + 2012-11-30 Joseph Myers * sysdeps/powerpc/nofpu/libm-test-ulps: Remove fma ulps. diff --git a/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c b/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c index 36b9b76..6b00ee0 100644 --- a/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c +++ b/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c @@ -1,5 +1,5 @@ /* Store current representation for exceptions (soft-float edition). - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002-2012 Free Software Foundation, Inc. Contributed by Aldy Hernandez , 2002. This file is part of the GNU C Library. @@ -21,6 +21,7 @@ #include "soft-supp.h" #include +int __fegetexceptflag (fexcept_t *flagp, int excepts) { *flagp = (fexcept_t) __sim_exceptions & excepts & FE_ALL_EXCEPT;