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
This commit is contained in:
H.J. Lu 2012-11-24 01:12:59 +00:00 committed by H.J. Lu
parent 4197028d21
commit 1773438a1b
2 changed files with 7 additions and 1 deletions

View 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>

View 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