diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-08-21 13:31:33 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-08-21 13:31:33 +0000 |
commit | cf07612e0309cb9ce623c74cd7933364a9ca2dce (patch) | |
tree | 4259496b625979543ed65533984088910ed81368 /src/set_sj.c | |
parent | 589e4748934cf2108be8564665f73bf1c4be4056 (diff) | |
download | mpfr-cf07612e0309cb9ce623c74cd7933364a9ca2dce.tar.gz |
[src,tests] Consistency: in prototypes, changed
const mpfr_t to mpfr_srcptr
mpfr_t to mpfr_ptr
(except for mpfr_t *), as this is equivalent (the array is converted
to a pointer) and the mpfr_srcptr/mpfr_ptr form is the usual one.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14103 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/set_sj.c')
-rw-r--r-- | src/set_sj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/set_sj.c b/src/set_sj.c index 488125076..a4454928d 100644 --- a/src/set_sj.c +++ b/src/set_sj.c @@ -26,13 +26,13 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #ifdef _MPFR_H_HAVE_INTMAX_T int -mpfr_set_sj (mpfr_t x, intmax_t j, mpfr_rnd_t rnd) +mpfr_set_sj (mpfr_ptr x, intmax_t j, mpfr_rnd_t rnd) { return mpfr_set_sj_2exp (x, j, 0, rnd); } int -mpfr_set_sj_2exp (mpfr_t x, intmax_t j, intmax_t e, mpfr_rnd_t rnd) +mpfr_set_sj_2exp (mpfr_ptr x, intmax_t j, intmax_t e, mpfr_rnd_t rnd) { if (j >= 0) return mpfr_set_uj_2exp (x, j, e, rnd); |