X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fmessage-file.c;h=ee305202fffa63f0e1a1d024c738a1d69a39ebb4;hp=8ac96e8e06a5dd9a132f241469690c773777fdb4;hb=f460ad4e9a2516b05162cc57c2d3b0e8b814b0c2;hpb=243ca658dff5aefa2d6c76121451463360fa56a7 diff --git a/lib/message-file.c b/lib/message-file.c index 8ac96e8e..ee305202 100644 --- a/lib/message-file.c +++ b/lib/message-file.c @@ -37,27 +37,6 @@ struct _notmuch_message_file { GMimeMessage *message; }; -static int -strcase_equal (const void *a, const void *b) -{ - return strcasecmp (a, b) == 0; -} - -static unsigned int -strcase_hash (const void *ptr) -{ - const char *s = ptr; - - /* This is the djb2 hash. */ - unsigned int hash = 5381; - while (s && *s) { - hash = ((hash << 5) + hash) + tolower (*s); - s++; - } - - return hash; -} - static int _notmuch_message_file_destructor (notmuch_message_file_t *message) {