X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=message-file.c;h=0b39dc43e5dc13f127d7e99de4d8258a4c965acf;hp=e8e2843e225be9b3f45a0dcd823d72446e6635a8;hb=90a0ef4ac4a023f11f82b037c635b4b22762b12f;hpb=bf78a89196b251c2465f6cefa8198f22c87ff23d diff --git a/message-file.c b/message-file.c index e8e2843e..0b39dc43 100644 --- a/message-file.c +++ b/message-file.c @@ -343,8 +343,8 @@ notmuch_message_file_get_header (notmuch_message_file_t *message, return NULL; } -static size_t -_notmuch_message_file_get_header_size (notmuch_message_file_t *message) +size_t +notmuch_message_file_get_header_size (notmuch_message_file_t *message) { if (! message->parsing_finished) notmuch_message_file_get_header (message, NULL); @@ -359,7 +359,7 @@ const char * notmuch_message_file_get_all_headers (notmuch_message_file_t *message) { char *headers = NULL; - size_t header_size = _notmuch_message_file_get_header_size (message); + size_t header_size = notmuch_message_file_get_header_size (message); if (header_size == 0) return "";