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/vm | |
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/vm')
-rw-r--r-- | sys/vm/vm_swap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c index db7b2ad..b9dc8e7 100644 --- a/sys/vm/vm_swap.c +++ b/sys/vm/vm_swap.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)vm_swap.c 8.5 (Berkeley) 2/17/94 - * $Id: vm_swap.c,v 1.28 1995/12/07 12:48:28 davidg Exp $ + * $Id: vm_swap.c,v 1.29 1995/12/08 11:19:42 julian Exp $ */ #include <sys/param.h> @@ -56,11 +56,11 @@ #define CDEV_MAJOR 4 #define BDEV_MAJOR 1 -struct bdevsw sw_bdevsw = +static struct bdevsw sw_bdevsw = { noopen, noclose, swstrategy, noioc, /*1*/ nodump, zerosize, NULL, "sw", NULL, -1 }; -struct cdevsw sw_cdevsw = +static struct cdevsw sw_cdevsw = { nullopen, nullclose, rawread, rawwrite, /*4*/ noioc, nostop, noreset, nodevtotty,/* swap */ noselect, nommap, swstrategy, "sw", NULL, -1 }; |