X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fsha1.h;h=a0d633569e31bd221576d3cd226e126474650ce8;hp=e153f5338335b92e31ae181b11180bd9e14379d1;hb=ed828dc4cbf4eabc9f8b32cb4c6a86a04e087f7a;hpb=c6127ff151b2963c5b90e4018f08f53051a97dfd diff --git a/src/sha1.h b/src/sha1.h index e153f533..a0d63356 100644 --- a/src/sha1.h +++ b/src/sha1.h @@ -46,7 +46,7 @@ static inline bool is_zero_hash(const u8 hash[SHA1_HASH_SIZE]) return true; } -static void zero_hash(u8 hash[SHA1_HASH_SIZE]) +static inline void zero_hash(u8 hash[SHA1_HASH_SIZE]) { memset(hash, 0, SHA1_HASH_SIZE); }