Fix a warning about missing prototype on arm
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 19 Apr 2018 20:17:24 +0000 (22:17 +0200)
committerNicola Tuveri <nic.tuv@gmail.com>
Tue, 11 Jun 2019 15:45:33 +0000 (18:45 +0300)
(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)

crypto/armcap.c
crypto/cryptlib.h

index 356fa152871facaeb8c127566f56b7c22275df1a..6283e37f0408c2001ef64fd966746925be9fa071 100644 (file)
@@ -5,6 +5,7 @@
 #include <signal.h>
 #include <crypto.h>
 
+#include "cryptlib.h"
 #include "arm_arch.h"
 
 unsigned int OPENSSL_armcap_P = 0;
index cdbddf17350f14d82ad7b72a706ae4551ca626a3..2f9eced4ae6738d91ccdb5ebfa1e2b4c2c796252 100644 (file)
@@ -106,6 +106,8 @@ extern int OPENSSL_NONPIC_relocated;
 
 char *ossl_safe_getenv(const char *);
 
+unsigned long OPENSSL_rdtsc(void);
+
 #ifdef  __cplusplus
 }
 #endif