X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=crc%2Fsha1.h;h=416199baffa7cbfc0f2098a1e55320a474292a1a;hp=14af44a922a70686bc96c4477c3ca202761b947e;hb=3d2d14bcb844e72809192311369a642c5d415472;hpb=65d0a0aa0c4e5ed39b804f5f83d311093af798c5 diff --git a/crc/sha1.h b/crc/sha1.h index 14af44a9..416199ba 100644 --- a/crc/sha1.h +++ b/crc/sha1.h @@ -1,6 +1,8 @@ #ifndef FIO_SHA1 #define FIO_SHA1 +#include + /* * Based on the Mozilla SHA1 (see mozilla-sha1/sha1.h), * optimized to do word accesses rather than byte accesses, @@ -15,6 +17,6 @@ struct fio_sha1_ctx { void fio_sha1_init(struct fio_sha1_ctx *); void fio_sha1_update(struct fio_sha1_ctx *, const void *dataIn, unsigned long len); -void fio_sha1_final(unsigned char hashout[20], struct fio_sha1_ctx *); +void fio_sha1_final(struct fio_sha1_ctx *); #endif