X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fsha1.c;fp=lib%2Fsha1.c;h=94060d577233a4602b37a70b2343404c5dc28da3;hp=cc481086c3aca6d443dfe249e6587e90755d3196;hb=df8885f62c13f77b2b16cbb211e3a727945870b0;hpb=c2d8236b56e713ae2e7053c9ea3cc13f7d1283c4 diff --git a/lib/sha1.c b/lib/sha1.c index cc481086..94060d57 100644 --- a/lib/sha1.c +++ b/lib/sha1.c @@ -50,7 +50,7 @@ _hex_of_sha1_digest (const unsigned char digest[SHA1_DIGEST_SIZE]) * should free() when finished. */ char * -notmuch_sha1_of_string (const char *str) +_notmuch_sha1_of_string (const char *str) { sha1_ctx sha1; unsigned char digest[SHA1_DIGEST_SIZE]; @@ -74,7 +74,7 @@ notmuch_sha1_of_string (const char *str) * file not found, etc.), this function returns NULL. */ char * -notmuch_sha1_of_file (const char *filename) +_notmuch_sha1_of_file (const char *filename) { FILE *file; #define BLOCK_SIZE 4096