Module Name: src
Committed By: matt
Date: Fri Sep 5 05:52:27 UTC 2014
Modified Files:
src/sys/sys: rnd.h
Log Message:
Change rndsource_setcb to use void (*)(size_t, void *) for cb.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/sys/rnd.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/rnd.h
diff -u src/sys/sys/rnd.h:1.41 src/sys/sys/rnd.h:1.42
--- src/sys/sys/rnd.h:1.41 Sun Aug 10 16:44:36 2014
+++ src/sys/sys/rnd.h Fri Sep 5 05:52:27 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: rnd.h,v 1.41 2014/08/10 16:44:36 tls Exp $ */
+/* $NetBSD: rnd.h,v 1.42 2014/09/05 05:52:27 matt Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -154,7 +154,8 @@ typedef struct krndsource {
} krndsource_t;
static inline void
-rndsource_setcb(struct krndsource *const rs, void *const cb, void *const arg)
+rndsource_setcb(struct krndsource *const rs, void (*const cb)(size_t, void *),
+ void *const arg)
{
rs->get = cb;
rs->getarg = arg;