ports/sysutils/conky/files/patch-src-entropy.c
Martin Wilke ae61f5a264 - Update to 1.8.0
PR:		147795
Submitted by:	Nikos Ntarmos <ntarmos@cs.uoi.gr> (maintainer)
2010-07-12 03:15:52 +00:00

15 lines
329 B
C

--- src/entropy.c.orig
+++ src/entropy.c
@@ -49,10 +49,11 @@ static struct {
.poolsize = 0,
};
-void update_entropy(void)
+int update_entropy(void)
{
get_entropy_avail(&entropy.avail);
get_entropy_poolsize(&entropy.poolsize);
+ return 0;
}
void print_entropy_avail(struct text_object *obj, char *p, int p_max_size)