aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-parser.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-12-13 07:31:40 +0800
committerChris Lahey <clahey@src.gnome.org>2000-12-13 07:31:40 +0800
commit7b80470152d325b1232395a58b3dedcc4c4443c6 (patch)
treef549fbe56ba9c8f2df08e6b25ea7aca4205796ae /camel/camel-mime-parser.c
parent9b7a92e8eacbbb84c2f0114508dd9f2163394809 (diff)
downloadgsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar.gz
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/camel-mime-parser.c')
-rw-r--r--camel/camel-mime-parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-mime-parser.c b/camel/camel-mime-parser.c
index 0d151b7e9b..b9fc3d2ebb 100644
--- a/camel/camel-mime-parser.c
+++ b/camel/camel-mime-parser.c
@@ -293,6 +293,7 @@ static void header_append_mempool(struct _header_scan_state *s, struct _header_s
static void camel_mime_parser_class_init (CamelMimeParserClass *klass);
static void camel_mime_parser_init (CamelMimeParser *obj);
+#if d(!)0
static char *states[] = {
"HSCAN_INITIAL",
"HSCAN_PRE_FROM", /* pre-from data */
@@ -312,6 +313,7 @@ static char *states[] = {
"HSCAN_MULTIPART_END",
"HSCAN_MESSAGE_END",
};
+#endif
static CamelObjectClass *camel_mime_parser_parent;