diff options
author | phk <phk@FreeBSD.org> | 1995-12-08 23:23:00 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-08 23:23:00 +0000 |
commit | a69d1dfbcb7bc187703b1767f289aba2bd4edbb6 (patch) | |
tree | 0408fdddf8ea8eeab5dc960ead9a7c96a2e301bd /sys/amd64/amd64/mem.c | |
parent | 5a5b07fa54887595e0725dba442af441c842786a (diff) | |
download | FreeBSD-src-a69d1dfbcb7bc187703b1767f289aba2bd4edbb6.zip FreeBSD-src-a69d1dfbcb7bc187703b1767f289aba2bd4edbb6.tar.gz |
Julian forgot to make the *devsw structures static.
Diffstat (limited to 'sys/amd64/amd64/mem.c')
-rw-r--r-- | sys/amd64/amd64/mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/mem.c b/sys/amd64/amd64/mem.c index 6d8a94c..5702d87 100644 --- a/sys/amd64/amd64/mem.c +++ b/sys/amd64/amd64/mem.c @@ -38,7 +38,7 @@ * * from: Utah $Hdr: mem.c 1.13 89/10/08$ * from: @(#)mem.c 7.2 (Berkeley) 5/9/91 - * $Id: mem.c,v 1.22 1995/12/07 12:45:34 davidg Exp $ + * $Id: mem.c,v 1.23 1995/12/08 11:13:25 julian Exp $ */ /* @@ -77,7 +77,7 @@ static d_ioctl_t mmioctl; static d_mmap_t memmmap; #define CDEV_MAJOR 2 -struct cdevsw mem_cdevsw = +static struct cdevsw mem_cdevsw = { mmopen, mmclose, mmrw, mmrw, /*2*/ mmioctl, nullstop, nullreset, nodevtotty,/* memory */ seltrue, memmmap, NULL, "mem", NULL, -1 }; |