summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/random/randomdev.c2
-rw-r--r--sys/dev/randomdev/randomdev.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/random/randomdev.c b/sys/dev/random/randomdev.c
index 9e0a91878d66..2ef9e9dabe3d 100644
--- a/sys/dev/random/randomdev.c
+++ b/sys/dev/random/randomdev.c
@@ -74,7 +74,7 @@ static struct cdevsw random_cdevsw = {
static dev_t randomdev;
static dev_t urandomdev;
-void *buf;
+static void *buf;
extern void randominit(void);
diff --git a/sys/dev/randomdev/randomdev.c b/sys/dev/randomdev/randomdev.c
index 9e0a91878d66..2ef9e9dabe3d 100644
--- a/sys/dev/randomdev/randomdev.c
+++ b/sys/dev/randomdev/randomdev.c
@@ -74,7 +74,7 @@ static struct cdevsw random_cdevsw = {
static dev_t randomdev;
static dev_t urandomdev;
-void *buf;
+static void *buf;
extern void randominit(void);