diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2014-01-19 13:37:38 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2014-01-19 13:37:38 +0100 |
commit | 99d8d3753f1fc879fc15110330e94ef95638363e (patch) | |
tree | 1c04444338f40ad3bc706da3507235b719d30470 /mpq/clear.c | |
parent | 5c972901ec4cca2668d9b294077540200f403e69 (diff) | |
download | gmp-99d8d3753f1fc879fc15110330e94ef95638363e.tar.gz |
Use mpq_t inn favour of MP_RAT.
Diffstat (limited to 'mpq/clear.c')
-rw-r--r-- | mpq/clear.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpq/clear.c b/mpq/clear.c index 25144f742..9601acb89 100644 --- a/mpq/clear.c +++ b/mpq/clear.c @@ -1,4 +1,4 @@ -/* mpq_clear -- free the space occupied by a MP_RAT. +/* mpq_clear -- free the space occupied by a mpq_t. Copyright 1991, 1994, 1995, 2000, 2001 Free Software Foundation, Inc. @@ -21,7 +21,7 @@ along with the GNU MP Library. If not, see https://www.gnu.org/licenses/. */ #include "gmp-impl.h" void -mpq_clear (MP_RAT *m) +mpq_clear (mpq_t m) { (*__gmp_free_func) (PTR(NUM(m)), (size_t) ALLOC(NUM(m)) * GMP_LIMB_BYTES); |