summaryrefslogtreecommitdiff
path: root/libquadmath/quadmath-rounding-mode.h
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-24 01:12:59 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-24 01:12:59 +0000
commit406bed1782f840173c5e8d696dcaac7d2fdf9789 (patch)
tree867d7619ece6d8c3eea88f8b5b842a77abf73968 /libquadmath/quadmath-rounding-mode.h
parent5ab901e471d36a4ec3119d084df7874b65d8cd9c (diff)
downloadgcc-406bed1782f840173c5e8d696dcaac7d2fdf9789.tar.gz
Don't pass void to fegetround
PR bootstrap/55455 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass void to fegetround. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193775 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libquadmath/quadmath-rounding-mode.h')
-rw-r--r--libquadmath/quadmath-rounding-mode.h2
1 files changed, 1 insertions, 1 deletions
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