]> git.notmuchmail.org Git - notmuch/blobdiff - message-file.c
Add -Wmising-declarations and fix warnings.
[notmuch] / message-file.c
index cb2bf665006c4de4734f446e28c782c08a0f8a8a..2bd560569dda6aedda058d8942d65e53a4b32f80 100644 (file)
@@ -149,7 +149,7 @@ notmuch_message_file_restrict_headers (notmuch_message_file_t *message, ...)
     notmuch_message_file_restrict_headersv (message, va_headers);
 }
 
-void
+static void
 copy_header_unfolding (header_value_closure_t *value,
                       const char *chunk)
 {
@@ -162,7 +162,7 @@ copy_header_unfolding (header_value_closure_t *value,
        chunk++;
 
     if (value->len + 1 + strlen (chunk) + 1 > value->size) {
-       int new_size = value->size;
+       unsigned int new_size = value->size;
        if (value->size == 0)
            new_size = strlen (chunk) + 1;
        else