aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-11-11 20:53:21 -0800
committerGravatar Carl Worth <cworth@cworth.org>2010-11-11 20:53:21 -0800
commitfe8eeaf4a576b4cad2ec4faee8d5e373118771f8 (patch)
tree0df330fb5e04306e7eb087a340212f13e43a3720
parent2a318d37144d7ab1e689d685ffabff7c5b93d2db (diff)
lib: Add two missing static qualifiers
The debian packaging is nice enough to notice when we accidentally leak private symbols to the public interface.
-rw-r--r--lib/message.cc4
1 files changed, 2 insertions, 2 deletions
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)