summaryrefslogtreecommitdiff
path: root/mpf/set_dfl_prec.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2010-11-10 16:28:01 +0100
committerTorbjorn Granlund <tege@gmplib.org>2010-11-10 16:28:01 +0100
commit8bd3c97538d43ab04b6ec662dfccb815561f234a (patch)
tree8e52373e3c8be0e51c9991968f3c9164dd4dfcee /mpf/set_dfl_prec.c
parentb90bca4c9e1221ced136be6ddb09811ff75e660a (diff)
downloadgmp-8bd3c97538d43ab04b6ec662dfccb815561f234a.tar.gz
Make it possible to compile GMP with g++.
Diffstat (limited to 'mpf/set_dfl_prec.c')
-rw-r--r--mpf/set_dfl_prec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpf/set_dfl_prec.c b/mpf/set_dfl_prec.c
index df5248860..c209dd997 100644
--- a/mpf/set_dfl_prec.c
+++ b/mpf/set_dfl_prec.c
@@ -23,7 +23,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
mp_size_t __gmp_default_fp_limb_precision = __GMPF_BITS_TO_PREC (53);
void
-mpf_set_default_prec (mp_bitcnt_t prec_in_bits)
+mpf_set_default_prec (mp_bitcnt_t prec_in_bits) __GMP_NOTHROW
{
__gmp_default_fp_limb_precision = __GMPF_BITS_TO_PREC (prec_in_bits);
}