From: Carl Worth Date: Fri, 12 Nov 2010 04:53:21 +0000 (-0800) Subject: lib: Add two missing static qualifiers X-Git-Tag: 0.5~1 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=fe8eeaf4a576b4cad2ec4faee8d5e373118771f8 lib: Add two missing static qualifiers The debian packaging is nice enough to notice when we accidentally leak private symbols to the public interface. --- diff --git a/lib/message.cc b/lib/message.cc index c2da25c9..293e854d 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -50,7 +50,7 @@ struct maildir_flag_tag { }; /* ASCII ordered table of Maildir flags and associated tags */ -struct maildir_flag_tag flag2tag[] = { +static struct maildir_flag_tag flag2tag[] = { { 'D', "draft", false}, { 'F', "flagged", false}, { 'P', "passed", false}, @@ -459,7 +459,7 @@ _notmuch_message_add_filename (notmuch_message_t *message, * This change will not be reflected in the database until the next * call to _notmuch_message_sync. */ -notmuch_status_t +static notmuch_status_t _notmuch_message_rename (notmuch_message_t *message, const char *old_filename, const char *new_filename)