]> wimlib.net Git - wimlib/blobdiff - src/sha1.h
WIM capture: Share inodes immediately
[wimlib] / src / sha1.h
index c8fe87ff20800182b82cedda72a435785ce97ac3..5c231e378ea6d02f82bbebcfaf5e2237b7d9e682 100644 (file)
@@ -37,9 +37,9 @@ hashes_cmp(const u8 h1[SHA1_HASH_SIZE],
 }
 
 static inline void
-print_hash(const u8 hash[SHA1_HASH_SIZE])
+print_hash(const u8 hash[SHA1_HASH_SIZE], FILE *out)
 {
-       print_byte_field(hash, SHA1_HASH_SIZE);
+       print_byte_field(hash, SHA1_HASH_SIZE, out);
 }
 
 static inline bool
@@ -94,6 +94,6 @@ sha1_final(u8 hash[SHA1_HASH_SIZE], SHA_CTX *ctx);
 #endif /* !WITH_LIBCRYPTO */
 
 extern int
-sha1sum(const mbchar *filename, u8 hash[SHA1_HASH_SIZE]);
+sha1sum(const tchar *filename, u8 hash[SHA1_HASH_SIZE]);
 
 #endif /* _WIMLIB_SHA1_H */