summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2018-04-19 22:17:24 +0200
committerNicola Tuveri <nic.tuv@gmail.com>2019-06-11 18:45:33 +0300
commit7a7afc559ebc0ad88390cc62bfc34c221d595831 (patch)
tree87ba3400fd550426b68c3615e1935bfe7df49837
parent3750879c117fddf583ef5d46069bac2b4d6523b8 (diff)
Fix a warning about missing prototype on arm
(cherry picked from commit 5fc89c1af837026b5812526ef6f519bf7ca42f16) Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> (Merged from https://github.com/openssl/openssl/pull/8243)
-rw-r--r--crypto/armcap.c1
-rw-r--r--crypto/cryptlib.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/crypto/armcap.c b/crypto/armcap.c
index 356fa15287..6283e37f04 100644
--- a/crypto/armcap.c
+++ b/crypto/armcap.c
@@ -5,6 +5,7 @@
#include <signal.h>
#include <crypto.h>
+#include "cryptlib.h"
#include "arm_arch.h"
unsigned int OPENSSL_armcap_P = 0;
diff --git a/crypto/cryptlib.h b/crypto/cryptlib.h
index cdbddf1735..2f9eced4ae 100644
--- a/crypto/cryptlib.h
+++ b/crypto/cryptlib.h
@@ -106,6 +106,8 @@ extern int OPENSSL_NONPIC_relocated;
char *ossl_safe_getenv(const char *);
+unsigned long OPENSSL_rdtsc(void);
+
#ifdef __cplusplus
}
#endif