Don't pass void to fegetround
authorH.J. Lu <hongjiu.lu@intel.com>
Sat, 24 Nov 2012 01:12:59 +0000 (01:12 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sat, 24 Nov 2012 01:12:59 +0000 (17:12 -0800)
PR bootstrap/55455
* quadmath-rounding-mode.h (get_rounding_mode): Don't pass
void to fegetround.

From-SVN: r193775

libquadmath/ChangeLog
libquadmath/quadmath-rounding-mode.h

index 6bbe420b9fe2e81a55989e5bd2b88bd2cd8c85ac..365c4bb0d559a3ffd8a5259d115970c99d2684e7 100644 (file)
@@ -1,3 +1,9 @@
+2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/55455
+       * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
+       void to fegetround.
+
 2012-11-23  Tobias Burnus  <burnus@net-b.de>
            Joseph Myers  <joseph@codesourcery.com>
 
index 9d06fa7be570c1b517fdefe37408463bc7dd2e3b..a806794835a5da2ee572dc2e25f9bfe9baec01a2 100644 (file)
@@ -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