[Gmp-commit] /home/hgfiles/gmp: Avoid "warning: implicit declaration of funct...

mercurial at gmplib.org mercurial at gmplib.org
Tue Dec 15 13:35:08 CET 2009


details:   /home/hgfiles/gmp/rev/51db7a0f4774
changeset: 13079:51db7a0f4774
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Tue Dec 15 13:34:59 2009 +0100
description:
Avoid "warning: implicit declaration of function" in make tuneup.

diffstat:

 ChangeLog  |  4 ++++
 gmp-impl.h |  2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 6754dcd0fbeb -r 51db7a0f4774 ChangeLog
--- a/ChangeLog	Tue Dec 15 13:27:19 2009 +0100
+++ b/ChangeLog	Tue Dec 15 13:34:59 2009 +0100
@@ -1,3 +1,7 @@
+2009-12-15  Marco Bodrato <bodrato at mail.dm.unipi.it>
+
+	* gmp-impl.h (mpn_ni_invertappr): Added prototype and name-mangling.
+
 2009-12-14  Niels Möller  <nisse at lysator.liu.se>
 
 	* mpn/generic/sbpi1_divappr_q.c (mpn_sbpi1_divappr_q): Use
diff -r 6754dcd0fbeb -r 51db7a0f4774 gmp-impl.h
--- a/gmp-impl.h	Tue Dec 15 13:27:19 2009 +0100
+++ b/gmp-impl.h	Tue Dec 15 13:34:59 2009 +0100
@@ -1172,6 +1172,8 @@
 #define   mpn_invert_itch __MPN(invert_itch)
 __GMP_DECLSPEC mp_size_t mpn_invert_itch __GMP_PROTO ((mp_size_t));
 
+#define   mpn_ni_invertappr __MPN(ni_invertappr)
+__GMP_DECLSPEC mp_limb_t mpn_ni_invertappr __GMP_PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_ptr));
 #define   mpn_invertappr __MPN(invertappr)
 __GMP_DECLSPEC mp_limb_t mpn_invertappr __GMP_PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_ptr));
 #define   mpn_invertappr_itch __MPN(invertappr_itch)


More information about the gmp-commit mailing list