summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/yarrow.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-09-12 13:13:22 +0000
committermarkm <markm@FreeBSD.org>2000-09-12 13:13:22 +0000
commit8310a0865410b67ec838360f16defef0a527224a (patch)
treec02650341183775ee94904ddd1e037ae2ab669b1 /sys/dev/random/yarrow.c
parentcfc3af2b90d9b43540d328bb174e8b479e75addd (diff)
downloadFreeBSD-src-8310a0865410b67ec838360f16defef0a527224a.zip
FreeBSD-src-8310a0865410b67ec838360f16defef0a527224a.tar.gz
The "struct proc" argument to read_random was ill-conceived, and a
hangover from previous experimentation. Remove it. This will clean up gratuitous needs for forward references and other namespace pollution. Moaned about by: bde Brought to my attention by: bp
Diffstat (limited to 'sys/dev/random/yarrow.c')
-rw-r--r--sys/dev/random/yarrow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/yarrow.c b/sys/dev/random/yarrow.c
index df34f65..76ae515 100644
--- a/sys/dev/random/yarrow.c
+++ b/sys/dev/random/yarrow.c
@@ -369,7 +369,7 @@ reseed(int fastslow)
}
u_int
-read_random(struct proc *proc, void *buf, u_int count)
+read_random(void *buf, u_int count)
{
static u_int64_t genval;
static int cur = 0;
OpenPOWER on IntegriCloud