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)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 20 Apr 2018 13:56:16 +0000 (15:56 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6028)

crypto/armcap.c
crypto/include/internal/cryptlib.h

index 432a06c0c1267f240885065ef2068dd539112e9c..1f4e31f3f7cba52e75045b7b53acc0eb599d9850 100644 (file)
@@ -13,6 +13,7 @@
 #include <setjmp.h>
 #include <signal.h>
 #include <openssl/crypto.h>
+#include <internal/cryptlib.h>
 
 #include "arm_arch.h"
 
index f3ec9b67b82582fd74d7e712f7d38e858f568c9f..69b00ebf40d058ca498d53991bd5e3381fb98448 100644 (file)
@@ -74,6 +74,8 @@ FILE *openssl_fopen(const char *filename, const char *mode);
 void *openssl_fopen(const char *filename, const char *mode);
 # endif
 
+unsigned long OPENSSL_rdtsc(void);
+
 #ifdef  __cplusplus
 }
 #endif