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/camel-mime-parser.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'camel/camel-mime-parser.c') 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; -- cgit