staticize struct random_hardware_source

This commit is contained in:
Dag-Erling Smørgrav 2013-10-09 17:51:38 +00:00
parent 6a7ba84834
commit 1b277d38f6
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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