evolution-data-server r10094 - branches/gnome-2-24/camel/providers/local



Author: mbarnes
Date: Wed Feb 25 09:41:55 2009
New Revision: 10094
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=10094&view=rev

Log:
2009-02-25  Matthew Barnes  <mbarnes redhat com>

	* camel-local-summary.c (local_summary_need_index):
	* camel-spool-summary.c (spool_summary_need_index):
	Use void in function declarations with no parameters.



Modified:
   branches/gnome-2-24/camel/providers/local/ChangeLog
   branches/gnome-2-24/camel/providers/local/camel-local-summary.c
   branches/gnome-2-24/camel/providers/local/camel-spool-summary.c

Modified: branches/gnome-2-24/camel/providers/local/camel-local-summary.c
==============================================================================
--- branches/gnome-2-24/camel/providers/local/camel-local-summary.c	(original)
+++ branches/gnome-2-24/camel/providers/local/camel-local-summary.c	Wed Feb 25 09:41:55 2009
@@ -65,7 +65,7 @@
 static int local_summary_check(CamelLocalSummary *cls, CamelFolderChangeInfo *changeinfo, CamelException *ex);
 static int local_summary_sync(CamelLocalSummary *cls, gboolean expunge, CamelFolderChangeInfo *changeinfo, CamelException *ex);
 static CamelMessageInfo *local_summary_add(CamelLocalSummary *cls, CamelMimeMessage *msg, const CamelMessageInfo *info, CamelFolderChangeInfo *, CamelException *ex);
-static int local_summary_need_index();
+static int local_summary_need_index(void);
 
 static void camel_local_summary_class_init (CamelLocalSummaryClass *klass);
 static void camel_local_summary_init       (CamelLocalSummary *obj);
@@ -425,7 +425,7 @@
 }
 
 static int
-local_summary_need_index() {
+local_summary_need_index(void) {
 	return 1;
 }
 

Modified: branches/gnome-2-24/camel/providers/local/camel-spool-summary.c
==============================================================================
--- branches/gnome-2-24/camel/providers/local/camel-spool-summary.c	(original)
+++ branches/gnome-2-24/camel/providers/local/camel-spool-summary.c	Wed Feb 25 09:41:55 2009
@@ -52,7 +52,7 @@
 static int spool_summary_check(CamelLocalSummary *cls, CamelFolderChangeInfo *changeinfo, CamelException *ex);
 
 static int spool_summary_sync_full(CamelMboxSummary *cls, gboolean expunge, CamelFolderChangeInfo *changeinfo, CamelException *ex);
-static int spool_summary_need_index();
+static int spool_summary_need_index(void);
 
 static void camel_spool_summary_class_init (CamelSpoolSummaryClass *klass);
 static void camel_spool_summary_init       (CamelSpoolSummary *obj);
@@ -346,6 +346,6 @@
 }
 
 static int
-spool_summary_need_index() {
+spool_summary_need_index(void) {
 	return 0;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]