staticize struct random_hardware_source
This commit is contained in:
parent
6a7ba84834
commit
1b277d38f6
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user