From 3d17e16cc29bf30366411646b7b8aafbe6fe25cb Mon Sep 17 00:00:00 2001 From: des Date: Wed, 9 Oct 2013 17:51:38 +0000 Subject: staticize struct random_hardware_source --- sys/dev/random/ivy.c | 2 +- sys/dev/random/nehemiah.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/random') diff --git a/sys/dev/random/ivy.c b/sys/dev/random/ivy.c index e1a42c4..7784e8b 100644 --- a/sys/dev/random/ivy.c +++ b/sys/dev/random/ivy.c @@ -51,7 +51,7 @@ __FBSDID("$FreeBSD$"); static int random_ivy_read(void *, int); -struct random_hardware_source random_ivy = { +static struct random_hardware_source random_ivy = { .ident = "Hardware, Intel IvyBridge+ RNG", .source = RANDOM_PURE_RDRAND, .read = random_ivy_read diff --git a/sys/dev/random/nehemiah.c b/sys/dev/random/nehemiah.c index e134ad0..c5235a4 100644 --- a/sys/dev/random/nehemiah.c +++ b/sys/dev/random/nehemiah.c @@ -51,7 +51,7 @@ static void random_nehemiah_init(void); static void random_nehemiah_deinit(void); static int random_nehemiah_read(void *, int); -struct random_hardware_source random_nehemiah = { +static struct random_hardware_source random_nehemiah = { .ident = "Hardware, VIA Nehemiah Padlock RNG", .source = RANDOM_PURE_NEHEMIAH, .read = random_nehemiah_read -- cgit v1.1