Staticize a variable.

This fixes the case where linking randomdev into the kernel statically
can cause panics at shutdown time.

Reported by:	sos
This commit is contained in:
markm 2000-06-28 18:51:15 +00:00
parent 9b9369d90e
commit f32bce812d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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