]> wimlib.net Git - wimlib/blobdiff - src/sha1.h
Fix various issues
[wimlib] / src / sha1.h
index e153f5338335b92e31ae181b11180bd9e14379d1..a0d633569e31bd221576d3cd226e126474650ce8 100644 (file)
@@ -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);
 }