summaryrefslogtreecommitdiff
path: root/mpz/scan1.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/scan1.c
parentb90bca4c9e1221ced136be6ddb09811ff75e660a (diff)
downloadgmp-8bd3c97538d43ab04b6ec662dfccb815561f234a.tar.gz
Make it possible to compile GMP with g++.
Diffstat (limited to 'mpz/scan1.c')
-rw-r--r--mpz/scan1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/scan1.c b/mpz/scan1.c
index dcf77986f..644fda677 100644
--- a/mpz/scan1.c
+++ b/mpz/scan1.c
@@ -28,7 +28,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
so it seems reasonable to inline that code. */
mp_bitcnt_t
-mpz_scan1 (mpz_srcptr u, mp_bitcnt_t starting_bit)
+mpz_scan1 (mpz_srcptr u, mp_bitcnt_t starting_bit) __GMP_NOTHROW
{
mp_srcptr u_ptr = PTR(u);
mp_size_t size = SIZ(u);