[dovecot-cvs] dovecot/src/lib mmap-util.c,1.8,1.9

cras at procontrol.fi cras at procontrol.fi
Wed May 7 16:14:32 EEST 2003


Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv16577

Modified Files:
	mmap-util.c 
Log Message:
remove compiler warnings if we declare madvise() as empty function



Index: mmap-util.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/mmap-util.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- mmap-util.c	28 Oct 2002 09:00:25 -0000	1.8
+++ mmap-util.c	7 May 2003 12:14:30 -0000	1.9
@@ -61,7 +61,8 @@
 }
 
 #ifndef HAVE_MADVISE
-int madvise(void *start, size_t length, int advice)
+int madvise(void *start __attr_unused__, size_t length __attr_unused__,
+	    int advice __attr_unused__)
 {
 }
 #endif




More information about the dovecot-cvs mailing list