diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-12-13 07:31:40 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-12-13 07:31:40 +0800 |
commit | 7b80470152d325b1232395a58b3dedcc4c4443c6 (patch) | |
tree | f549fbe56ba9c8f2df08e6b25ea7aca4205796ae /camel/providers/imap | |
parent | 9b7a92e8eacbbb84c2f0114508dd9f2163394809 (diff) | |
download | gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar.gz gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar.bz2 gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar.lz gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar.xz gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar.zst gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.zip |
Added #ifndef NO_WARNINGS around a #warning. Added (void) to the prototype
2000-12-12 Christopher James Lahey <clahey@helixcode.com>
* 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 <netinet/in.h>.
* 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
Diffstat (limited to 'camel/providers/imap')
-rw-r--r-- | camel/providers/imap/camel-imap-auth.c | 2 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 3 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-store.c | 3 |
3 files changed, 6 insertions, 2 deletions
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 <config.h> +#include <netinet/in.h> + #include <string.h> #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; |