diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2010-11-10 16:28:01 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2010-11-10 16:28:01 +0100 |
commit | 8bd3c97538d43ab04b6ec662dfccb815561f234a (patch) | |
tree | 8e52373e3c8be0e51c9991968f3c9164dd4dfcee /mpq | |
parent | b90bca4c9e1221ced136be6ddb09811ff75e660a (diff) | |
download | gmp-8bd3c97538d43ab04b6ec662dfccb815561f234a.tar.gz |
Make it possible to compile GMP with g++.
Diffstat (limited to 'mpq')
-rw-r--r-- | mpq/equal.c | 2 | ||||
-rw-r--r-- | mpq/swap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mpq/equal.c b/mpq/equal.c index e5c5f8e5e..36f7d372d 100644 --- a/mpq/equal.c +++ b/mpq/equal.c @@ -22,7 +22,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #include "gmp-impl.h" int -mpq_equal (mpq_srcptr op1, mpq_srcptr op2) +mpq_equal (mpq_srcptr op1, mpq_srcptr op2) __GMP_NOTHROW { mp_size_t num1_size, num2_size, den1_size, den2_size, i; mp_srcptr num1_ptr, num2_ptr, den1_ptr, den2_ptr; diff --git a/mpq/swap.c b/mpq/swap.c index 507e7d51d..e1d96cc47 100644 --- a/mpq/swap.c +++ b/mpq/swap.c @@ -21,7 +21,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #include "gmp-impl.h" void -mpq_swap (mpq_ptr u, mpq_ptr v) +mpq_swap (mpq_ptr u, mpq_ptr v) __GMP_NOTHROW { mp_ptr up, vp; mp_size_t usize, vsize; |