summaryrefslogtreecommitdiff
path: root/tune/speed.h
diff options
context:
space:
mode:
authorTorbjorn Granlund <torbjorng@google.com>2014-11-14 11:54:35 +0100
committerTorbjorn Granlund <torbjorng@google.com>2014-11-14 11:54:35 +0100
commitacefa325ba41c3d2b5c241807241aa215cad37e5 (patch)
tree7a381596d77934e739cb2bccbd6cb289a47c3423 /tune/speed.h
parent393b7057b4b69e8008c16016331e7b87eaa86998 (diff)
downloadgmp-acefa325ba41c3d2b5c241807241aa215cad37e5.tar.gz
Fix typo in last change.
Diffstat (limited to 'tune/speed.h')
-rw-r--r--tune/speed.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tune/speed.h b/tune/speed.h
index 2569e335d..38348b451 100644
--- a/tune/speed.h
+++ b/tune/speed.h
@@ -412,10 +412,16 @@ double speed_umul_ppmm (struct speed_params *);
/* 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]);