From 7a7afc559ebc0ad88390cc62bfc34c221d595831 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Thu, 19 Apr 2018 22:17:24 +0200 Subject: Fix a warning about missing prototype on arm (cherry picked from commit 5fc89c1af837026b5812526ef6f519bf7ca42f16) Reviewed-by: Paul Dale Reviewed-by: Nicola Tuveri (Merged from https://github.com/openssl/openssl/pull/8243) --- crypto/armcap.c | 1 + crypto/cryptlib.h | 2 ++ 2 files changed, 3 insertions(+) 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 #include +#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 -- cgit v1.2.3