summaryrefslogtreecommitdiff
path: root/cache.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-06-26 15:35:01 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-06-26 15:35:01 +0000
commit3f944f217a6bc9b3d72b73067de160e768f6a4e3 (patch)
tree89d977f3c15ee4383fe0629c40f504c14a352090 /cache.c
parent0a7b8e19cf4789f503f55b4e046327c38ab786b3 (diff)
downloadmpfr-3f944f217a6bc9b3d72b73067de160e768f6a4e3.tar.gz
mp_rnd_t -> mpfr_rnd_t
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6295 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'cache.c')
-rw-r--r--cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cache.c b/cache.c
index acbf4fa97..0f7640950 100644
--- a/cache.c
+++ b/cache.c
@@ -26,7 +26,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
useful if some user wants to add a new constant to mpfr, and
implement a cache mechanism for that constant */
void
-mpfr_init_cache (mpfr_cache_t cache, int (*func)(mpfr_ptr, mp_rnd_t))
+mpfr_init_cache (mpfr_cache_t cache, int (*func)(mpfr_ptr, mpfr_rnd_t))
{
MPFR_PREC (cache->x) = 0; /* Invalid prec to detect that the cache is not
valid. Maybe add a flag? */
@@ -43,7 +43,7 @@ mpfr_clear_cache (mpfr_cache_t cache)
}
int
-mpfr_cache (mpfr_ptr dest, mpfr_cache_t cache, mp_rnd_t rnd)
+mpfr_cache (mpfr_ptr dest, mpfr_cache_t cache, mpfr_rnd_t rnd)
{
mp_prec_t prec = MPFR_PREC (dest);
mp_prec_t pold = MPFR_PREC (cache->x);