[evolution-data-server] Mark a function static and fix NULL vs. 0



commit 957be75173528c714637861f2e01bd8cf62ce87a
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Sat Sep 26 12:43:32 2009 +0200

    Mark a function static and fix NULL vs. 0

 camel/providers/imap/camel-imap-journal.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/imap/camel-imap-journal.c b/camel/providers/imap/camel-imap-journal.c
index 904ae47..b164a27 100644
--- a/camel/providers/imap/camel-imap-journal.c
+++ b/camel/providers/imap/camel-imap-journal.c
@@ -65,7 +65,7 @@ static CamelOfflineJournalClass *parent_class = NULL;
 CamelType
 camel_imap_journal_get_type (void)
 {
-	static CamelType type = 0;
+	static CamelType type = NULL;
 
 	if (!type) {
 		type = camel_type_register (camel_offline_journal_get_type (),
@@ -330,7 +330,7 @@ journal_decode_folder (CamelIMAPJournal *journal, const gchar *name)
 	return folder;
 }
 
-gint
+static gint
 imap_entry_play (CamelOfflineJournal *journal, CamelDListNode *entry, CamelException *ex)
 {
 	CamelIMAPJournalEntry *imap_entry = (CamelIMAPJournalEntry *) entry;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]