[dovecot-cvs] dovecot-sieve/src sieve-cmu.c,1.4,1.5

tss at dovecot.org tss at dovecot.org
Tue Oct 10 20:46:25 UTC 2006


Update of /var/lib/cvs/dovecot-sieve/src
In directory talvi:/tmp/cvs-serv23006

Modified Files:
	sieve-cmu.c 
Log Message:
More __attribute__((unused)) -> __attr_unused__



Index: sieve-cmu.c
===================================================================
RCS file: /var/lib/cvs/dovecot-sieve/src/sieve-cmu.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- sieve-cmu.c	8 Oct 2006 20:10:47 -0000	1.4
+++ sieve-cmu.c	10 Oct 2006 19:46:23 -0000	1.5
@@ -94,7 +94,7 @@
 }
 
 static int sieve_redirect(void *ac, 
-			  void *ic __attribute__((unused)), 
+			  void *ic __attr_unused__, 
 			  void *sc, void *mc, const char **errmsg)
 {
     sieve_redirect_context_t *rc = (sieve_redirect_context_t *) ac;
@@ -131,10 +131,10 @@
     }
 }
 
-static int sieve_discard(void *ac __attribute__((unused)), 
-			 void *ic __attribute__((unused)), 
-			 void *sc __attribute__((unused)), void *mc,
-			 const char **errmsg __attribute__((unused)))
+static int sieve_discard(void *ac __attr_unused__, 
+			 void *ic __attr_unused__, 
+			 void *sc __attr_unused__, void *mc,
+			 const char **errmsg __attr_unused__)
 {
     sieve_msgdata_t *md = mc;
 
@@ -145,7 +145,7 @@
 }
 
 static int sieve_reject(void *ac, 
-			void *ic __attribute__((unused)), 
+			void *ic __attr_unused__, 
 			void *sc, void *mc, const char **errmsg)
 {
     sieve_reject_context_t *rc = (sieve_reject_context_t *) ac;
@@ -301,7 +301,7 @@
 }
 
 static int send_response(void *ac, 
-			 void *ic __attribute__((unused)), 
+			 void *ic __attr_unused__, 
 			 void *sc, void *mc,
 			 const char **errmsg)
 {
@@ -364,7 +364,7 @@
 static sieve_imapflags_t mark = { markflags, 1 };
 
 static int sieve_parse_error_handler(int lineno, const char *msg, 
-				     void *ic __attribute__((unused)),
+				     void *ic __attr_unused__,
 				     void *sc)
 {
     script_data_t *sd = (script_data_t *) sc;



More information about the dovecot-cvs mailing list