summaryrefslogtreecommitdiff
path: root/src/set_uj.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-08-21 13:31:33 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-08-21 13:31:33 +0000
commitcf07612e0309cb9ce623c74cd7933364a9ca2dce (patch)
tree4259496b625979543ed65533984088910ed81368 /src/set_uj.c
parent589e4748934cf2108be8564665f73bf1c4be4056 (diff)
downloadmpfr-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_uj.c')
-rw-r--r--src/set_uj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/set_uj.c b/src/set_uj.c
index 4dab72e19..d69d3d391 100644
--- a/src/set_uj.c
+++ b/src/set_uj.c
@@ -29,13 +29,13 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#define uintmaxpml (sizeof(uintmax_t) / sizeof(mp_limb_t))
int
-mpfr_set_uj (mpfr_t x, uintmax_t j, mpfr_rnd_t rnd)
+mpfr_set_uj (mpfr_ptr x, uintmax_t j, mpfr_rnd_t rnd)
{
return mpfr_set_uj_2exp (x, j, 0, rnd);
}
int
-mpfr_set_uj_2exp (mpfr_t x, uintmax_t j, intmax_t e, mpfr_rnd_t rnd)
+mpfr_set_uj_2exp (mpfr_ptr x, uintmax_t j, intmax_t e, mpfr_rnd_t rnd)
{
int cnt, inex;
mp_size_t i, k;