diff options
author | des <des@FreeBSD.org> | 2013-10-09 17:51:38 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2013-10-09 17:51:38 +0000 |
commit | 3d17e16cc29bf30366411646b7b8aafbe6fe25cb (patch) | |
tree | 1c87f457d8c39e3840a1dcabc5eb3508c1c86657 /sys/dev/random | |
parent | df8b562913c4096b4bccbc237eeb870656d28f88 (diff) | |
download | FreeBSD-src-3d17e16cc29bf30366411646b7b8aafbe6fe25cb.zip FreeBSD-src-3d17e16cc29bf30366411646b7b8aafbe6fe25cb.tar.gz |
staticize struct random_hardware_source
Diffstat (limited to 'sys/dev/random')
-rw-r--r-- | sys/dev/random/ivy.c | 2 | ||||
-rw-r--r-- | sys/dev/random/nehemiah.c | 2 |
2 files changed, 2 insertions, 2 deletions
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 |