summaryrefslogtreecommitdiff
path: root/gmp-impl.h
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2015-05-30 08:07:57 +0200
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2015-05-30 08:07:57 +0200
commit0187f2cf5771cd859d53e0ffcc5543180d90dab3 (patch)
tree51f1a96d001137ccff18ce6b16ad0d881c30f9fc /gmp-impl.h
parented1d881a9fdcb4c2f22fb0453bf462de4497ce7b (diff)
downloadgmp-0187f2cf5771cd859d53e0ffcc5543180d90dab3.tar.gz
Make mpn_zero_p public (inline).
Diffstat (limited to 'gmp-impl.h')
-rw-r--r--gmp-impl.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/gmp-impl.h b/gmp-impl.h
index 46e42ecfd..c274d3a8b 100644
--- a/gmp-impl.h
+++ b/gmp-impl.h
@@ -4656,17 +4656,6 @@ mpn_sub_nc (mp_ptr rp, mp_srcptr up, mp_srcptr vp, mp_size_t n, mp_limb_t ci)
}
#endif
-static inline int
-mpn_zero_p (mp_srcptr ap, mp_size_t n)
-{
- while (--n >= 0)
- {
- if (ap[n] != 0)
- return 0;
- }
- return 1;
-}
-
#if TUNE_PROGRAM_BUILD
/* Some extras wanted when recompiling some .c files for use by the tune
program. Not part of a normal build.