summaryrefslogtreecommitdiff
path: root/mpf/get_si.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/get_si.c
parentb90bca4c9e1221ced136be6ddb09811ff75e660a (diff)
downloadgmp-8bd3c97538d43ab04b6ec662dfccb815561f234a.tar.gz
Make it possible to compile GMP with g++.
Diffstat (limited to 'mpf/get_si.c')
-rw-r--r--mpf/get_si.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpf/get_si.c b/mpf/get_si.c
index a0beb2c03..5c6fd5e19 100644
--- a/mpf/get_si.c
+++ b/mpf/get_si.c
@@ -40,7 +40,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
-0x80000000 instead of the desired 0. */
long
-mpf_get_si (mpf_srcptr f)
+mpf_get_si (mpf_srcptr f) __GMP_NOTHROW
{
mp_exp_t exp;
mp_size_t size, abs_size;