[dovecot-cvs] dovecot/src/lib randgen.c,1.7,1.8

cras at procontrol.fi cras at procontrol.fi
Fri Apr 4 18:41:58 EEST 2003


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

Modified Files:
	randgen.c 
Log Message:
compilefix



Index: randgen.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/randgen.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- randgen.c	4 Apr 2003 14:40:14 -0000	1.7
+++ randgen.c	4 Apr 2003 14:41:55 -0000	1.8
@@ -26,7 +26,7 @@
 #include "lib.h"
 #include "randgen.h"
 
-#ifdef HAVE_URANDOM
+#ifdef HAVE_DEV_URANDOM
 
 #include "fd-close-on-exec.h"
 #include <unistd.h>
@@ -109,7 +109,7 @@
 #else
 #  warning Random generator disabled
 
-void random_fill(void *buf, size_t size)
+void random_fill(void *buf __attr_unused__, size_t size __attr_unused__)
 {
 	i_fatal("random_fill(): No random source");
 }




More information about the dovecot-cvs mailing list