[Gmp-commit] /var/hg/gmp: Fix typo in last change.
mercurial at gmplib.org
mercurial at gmplib.org
Fri Nov 14 10:54:39 UTC 2014
details: /var/hg/gmp/rev/7a12301c76e7
changeset: 16515:7a12301c76e7
user: Torbjorn Granlund <torbjorng at google.com>
date: Fri Nov 14 11:54:35 2014 +0100
description:
Fix typo in last change.
diffstat:
tune/speed.h | 6 ++++++
tune/tuneup.c | 7 +++++++
2 files changed, 13 insertions(+), 0 deletions(-)
diffs (42 lines):
diff -r 39aad582e1f7 -r 7a12301c76e7 tune/speed.h
--- a/tune/speed.h Thu Nov 13 23:04:54 2014 +0100
+++ b/tune/speed.h Fri Nov 14 11:54:35 2014 +0100
@@ -412,10 +412,16 @@
/* Prototypes for other routines */
+#if defined (__cplusplus)
extern "C" {
+#endif
+
/* low 32-bits in p[0], high 32-bits in p[1] */
void speed_cyclecounter (unsigned p[2]);
+
+#if defined (__cplusplus)
}
+#endif
void mftb_function (unsigned p[2]);
diff -r 39aad582e1f7 -r 7a12301c76e7 tune/tuneup.c
--- a/tune/tuneup.c Thu Nov 13 23:04:54 2014 +0100
+++ b/tune/tuneup.c Fri Nov 14 11:54:35 2014 +0100
@@ -387,11 +387,18 @@
* mpn/generic/divrem_1.c, mpn/generic/mod_1.c and mpz/fac_ui.c */
mp_limb_t mpn_div_qr_1_tune (mp_ptr, mp_limb_t *, mp_srcptr, mp_size_t, mp_limb_t);
+
+#if defined (__cplusplus)
extern "C" {
+#endif
+
mp_limb_t mpn_divrem_1_tune (mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_limb_t);
mp_limb_t mpn_mod_1_tune (mp_srcptr, mp_size_t, mp_limb_t);
void mpz_fac_ui_tune (mpz_ptr, unsigned long);
+
+#if defined (__cplusplus)
}
+#endif
double
speed_mpn_mod_1_tune (struct speed_params *s)
More information about the gmp-commit
mailing list