[dovecot-cvs] dovecot/src/lib istream-tee.c, 1.1, 1.2 mempool-system.c, 1.19, 1.20

tss at dovecot.org tss at dovecot.org
Sat Nov 18 14:06:37 UTC 2006


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

Modified Files:
	istream-tee.c mempool-system.c 
Log Message:
Added some noreturn attributes and fixed warnings caused by them.



Index: istream-tee.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/istream-tee.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- istream-tee.c	9 May 2006 09:39:01 -0000	1.1
+++ istream-tee.c	18 Nov 2006 14:06:35 -0000	1.2
@@ -124,9 +124,9 @@
 	return ret;
 }
 
-static void _seek(struct _istream *stream __attr_unused__,
-		  uoff_t v_offset __attr_unused__,
-		  bool mark __attr_unused__)
+static void __attr_noreturn__
+_seek(struct _istream *stream __attr_unused__,
+      uoff_t v_offset __attr_unused__, bool mark __attr_unused__)
 {
 	i_panic("tee-istream: seeking unsupported currently");
 }

Index: mempool-system.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/mempool-system.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- mempool-system.c	10 Sep 2006 17:49:08 -0000	1.19
+++ mempool-system.c	18 Nov 2006 14:06:35 -0000	1.20
@@ -108,7 +108,8 @@
         return mem;
 }
 
-static void pool_system_clear(pool_t pool __attr_unused__)
+static void __attr_noreturn__
+pool_system_clear(pool_t pool __attr_unused__)
 {
 	i_panic("pool_system_clear() must not be called");
 }



More information about the dovecot-cvs mailing list