From 7c2af6212d5345ade65f1e2013e08b74c14fc794 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Sat, 7 Sep 2013 22:07:36 +0000 Subject: Fix the build; Certain linkable symbols need to always be present. Pass the pointy hat please. Also unblock the software (Yarrow) generator for now. This will be reverted; Yarrow needs to block until secure, not this behaviour of serving as soon as asked. Folks with specific requiremnts will be able to (can!) unblock this device with any write, and are encouraged to do so in /etc/rc.d/* scripting. ("Any" in this case could be "echo '' > /dev/random" as root). --- sys/dev/random/randomdev.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'sys/dev/random/randomdev.c') diff --git a/sys/dev/random/randomdev.c b/sys/dev/random/randomdev.c index 850948ee9627c..0f10e6c627f22 100644 --- a/sys/dev/random/randomdev.c +++ b/sys/dev/random/randomdev.c @@ -72,27 +72,12 @@ static struct cdevsw random_cdevsw = { .d_name = "random", }; -static struct random_adaptor *random_adaptor; static eventhandler_tag attach_tag; static int random_inited; - /* For use with make_dev(9)/destroy_dev(9). */ static struct cdev *random_dev; -/* Used to fake out unused random calls in random_adaptor */ -void -random_null_func(void) -{ -} - -struct random_adaptor * -random_get_active_adaptor(void) -{ - - return (random_adaptor); -} - /* ARGSUSED */ static int random_close(struct cdev *dev __unused, int flags, int fmt __unused, -- cgit v1.3