From 7b80470152d325b1232395a58b3dedcc4c4443c6 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 12 Dec 2000 23:31:40 +0000 Subject: Added #ifndef NO_WARNINGS around a #warning. Added (void) to the prototype 2000-12-12 Christopher James Lahey * camel-folder-summary.c, camel-folder-summary.h: Added #ifndef NO_WARNINGS around a #warning. Added (void) to the prototype and declaration of camel_message_info_new. * camel-mime-message.h: Added an include for camel-mime-filter-bestenc.h. Added a prototype for camel_mime_message_set_best_encoding. Reformatted prototypes to line up. * camel-mime-parser.c: Added #if d(!)0 around the states string lookup table since it's only used in debugging output. * camel-seekable-substream.c (stream_flush): Added a cast. * providers/imap/camel-imap-auth.c: Added #include . * providers/imap/camel-imap-folder.c (imap_refresh_info): Made uid and flags const to fix warnings here. * providers/imap/camel-imap-store.c (get_folder_info): Made p const to fix warnings here. svn path=/trunk/; revision=6954 --- camel/providers/imap/camel-imap-auth.c | 2 ++ camel/providers/imap/camel-imap-folder.c | 3 ++- camel/providers/imap/camel-imap-store.c | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'camel/providers') diff --git a/camel/providers/imap/camel-imap-auth.c b/camel/providers/imap/camel-imap-auth.c index cc77843d9c..2fac879580 100644 --- a/camel/providers/imap/camel-imap-auth.c +++ b/camel/providers/imap/camel-imap-auth.c @@ -24,6 +24,8 @@ #include +#include + #include #ifdef HAVE_KRB4 diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index b6f6cc1132..c127df73de 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -245,7 +245,8 @@ imap_refresh_info (CamelFolder *folder, CamelException *ex) char *uid; guint32 flags; } *new; - char *resp, *uid, *p, *flags; + char *resp, *p; + const char *uid, *flags; int i, seq, summary_len; CamelMessageInfo *info; gboolean folder_changed = FALSE; diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index aa5d003674..729452f002 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -609,7 +609,8 @@ get_folder_info (CamelStore *store, const char *top, gboolean fast, GPtrArray *folders; const char *name; char *pattern, *list; - char *status, *p; + char *status; + const char *p; CamelFolderInfo *topfi, *fi; name = top; -- cgit v1.2.3