From 1773438a1b701f62cc01e69b33d29954dab09207 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 24 Nov 2012 01:12:59 +0000 Subject: [PATCH] Don't pass void to fegetround PR bootstrap/55455 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass void to fegetround. From-SVN: r193775 --- libquadmath/ChangeLog | 6 ++++++ libquadmath/quadmath-rounding-mode.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index 6bbe420b9fe..365c4bb0d55 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,9 @@ +2012-11-23 H.J. Lu + + PR bootstrap/55455 + * quadmath-rounding-mode.h (get_rounding_mode): Don't pass + void to fegetround. + 2012-11-23 Tobias Burnus Joseph Myers diff --git a/libquadmath/quadmath-rounding-mode.h b/libquadmath/quadmath-rounding-mode.h index 9d06fa7be57..a806794835a 100644 --- a/libquadmath/quadmath-rounding-mode.h +++ b/libquadmath/quadmath-rounding-mode.h @@ -33,7 +33,7 @@ get_rounding_mode (void) { #if defined(HAVE_FENV_H) && (defined(FE_DOWNWARD) || defined(FE_TONEAREST) \ || defined(FE_TOWARDZERO) || defined(FE_UPWARD)) - return fegetround (void); + return fegetround (); #else return 0; #endif