Date: Wed, 9 Oct 2013 17:51:39 +0000 (UTC) From: Dag-Erling Smørgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r256204 - projects/random_number_generator/sys/dev/random Message-ID: <201310091751.r99Hpdqb025922@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Wed Oct 9 17:51:38 2013 New Revision: 256204 URL: http://svnweb.freebsd.org/changeset/base/256204 Log: staticize struct random_hardware_source Modified: projects/random_number_generator/sys/dev/random/ivy.c projects/random_number_generator/sys/dev/random/nehemiah.c Modified: projects/random_number_generator/sys/dev/random/ivy.c ============================================================================== --- projects/random_number_generator/sys/dev/random/ivy.c Wed Oct 9 17:50:36 2013 (r256203) +++ projects/random_number_generator/sys/dev/random/ivy.c Wed Oct 9 17:51:38 2013 (r256204) @@ -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 Modified: projects/random_number_generator/sys/dev/random/nehemiah.c ============================================================================== --- projects/random_number_generator/sys/dev/random/nehemiah.c Wed Oct 9 17:50:36 2013 (r256203) +++ projects/random_number_generator/sys/dev/random/nehemiah.c Wed Oct 9 17:51:38 2013 (r256204) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310091751.r99Hpdqb025922>