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-folder-summary.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'camel/camel-folder-summary.c') diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c index 9a6a96c273..6ee83348a4 100644 --- a/camel/camel-folder-summary.c +++ b/camel/camel-folder-summary.c @@ -1379,7 +1379,9 @@ static CamelMessageContentInfo * content_info_new_from_message(CamelFolderSummar return ci; } +#ifndef NO_WARNINGS #warning "These should be made private again, easy to fix (used in filter-driver)" +#endif char * camel_folder_summary_format_address(struct _header_raw *h, const char *name) { @@ -2206,7 +2208,7 @@ camel_system_flag_get (guint32 flags, const char *name) * Returns a new CamelMessageInfo structure. **/ CamelMessageInfo * -camel_message_info_new () +camel_message_info_new (void) { CamelMessageInfo *info; -- cgit v1.2.3