]> git.notmuchmail.org Git - notmuch/commitdiff
lib: Add two missing static qualifiers
authorCarl Worth <cworth@cworth.org>
Fri, 12 Nov 2010 04:53:21 +0000 (20:53 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 12 Nov 2010 04:53:21 +0000 (20:53 -0800)
The debian packaging is nice enough to notice when we accidentally
leak private symbols to the public interface.

lib/message.cc

index c2da25c953a46d04e82473cd921ad581495ba4e9..293e854dd73ed82069f75f38b23e6d6d7a5b2e7a 100644 (file)
@@ -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)