summaryrefslogtreecommitdiff
path: root/mpz/hamdist.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/hamdist.c
parentb90bca4c9e1221ced136be6ddb09811ff75e660a (diff)
downloadgmp-8bd3c97538d43ab04b6ec662dfccb815561f234a.tar.gz
Make it possible to compile GMP with g++.
Diffstat (limited to 'mpz/hamdist.c')
-rw-r--r--mpz/hamdist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/hamdist.c b/mpz/hamdist.c
index bd4dcd707..06a23411f 100644
--- a/mpz/hamdist.c
+++ b/mpz/hamdist.c
@@ -22,7 +22,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
mp_bitcnt_t
-mpz_hamdist (mpz_srcptr u, mpz_srcptr v)
+mpz_hamdist (mpz_srcptr u, mpz_srcptr v) __GMP_NOTHROW
{
mp_srcptr up, vp;
mp_size_t usize, vsize;