Fix use of inline keyword
GCC warns on this under -Wold-style-declaration
diff --git a/crypto/include/sha1.h b/crypto/include/sha1.h
index fd54469..84d1c65 100644
--- a/crypto/include/sha1.h
+++ b/crypto/include/sha1.h
@@ -68,18 +68,18 @@
*
*/
-void inline sha1_init (sha1_ctx_t *ctx)
+inline void sha1_init (sha1_ctx_t *ctx)
{
EVP_MD_CTX_init(ctx);
EVP_DigestInit(ctx, EVP_sha1());
}
-void inline sha1_update (sha1_ctx_t *ctx, const uint8_t *M, int octets_in_msg)
+inline void sha1_update (sha1_ctx_t *ctx, const uint8_t *M, int octets_in_msg)
{
EVP_DigestUpdate(ctx, M, octets_in_msg);
}
-void inline sha1_final (sha1_ctx_t *ctx, uint32_t *output)
+inline void sha1_final (sha1_ctx_t *ctx, uint32_t *output)
{
unsigned int len = 0;