summaryrefslogtreecommitdiff
path: root/mpz/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 /mpz/get_si.c
parentb90bca4c9e1221ced136be6ddb09811ff75e660a (diff)
downloadgmp-8bd3c97538d43ab04b6ec662dfccb815561f234a.tar.gz
Make it possible to compile GMP with g++.
Diffstat (limited to 'mpz/get_si.c')
-rw-r--r--mpz/get_si.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/get_si.c b/mpz/get_si.c
index 1308308fe..d24a4e47d 100644
--- a/mpz/get_si.c
+++ b/mpz/get_si.c
@@ -22,7 +22,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#include "gmp-impl.h"
signed long int
-mpz_get_si (mpz_srcptr z)
+mpz_get_si (mpz_srcptr z) __GMP_NOTHROW
{
mp_ptr zp = z->_mp_d;
mp_size_t size = z->_mp_size;