[dovecot-cvs] dovecot/src/lib ioloop-notify-none.c,1.4,1.5

tss at dovecot.org tss at dovecot.org
Tue Mar 13 17:49:01 EET 2007


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

Modified Files:
	ioloop-notify-none.c 
Log Message:
Fix for building without notify



Index: ioloop-notify-none.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/ioloop-notify-none.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ioloop-notify-none.c	14 Aug 2005 21:54:20 -0000	1.4
+++ ioloop-notify-none.c	13 Mar 2007 15:48:59 -0000	1.5
@@ -5,10 +5,10 @@
 
 #ifdef IOLOOP_NOTIFY_NONE
 
-struct io *io_loop_notify_add(struct ioloop *ioloop __attr_unused__,
-			      const char *path __attr_unused__,
-			      io_callback_t *callback __attr_unused__,
-			      void *context __attr_unused__)
+#undef io_add_notify
+struct io *io_add_notify(const char *path __attr_unused__,
+			 io_callback_t *callback __attr_unused__,
+			 void *context __attr_unused__)
 {
 	return NULL;
 }
@@ -18,10 +18,6 @@
 {
 }
 
-void io_loop_notify_handler_init(struct ioloop *ioloop __attr_unused__)
-{
-}
-
 void io_loop_notify_handler_deinit(struct ioloop *ioloop __attr_unused__)
 {
 }



More information about the dovecot-cvs mailing list