Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys g/c struct swdevt definition and extern decl for swd...



details:   https://anonhg.NetBSD.org/src/rev/cdd5a40d6bc5
branches:  trunk
changeset: 553185:cdd5a40d6bc5
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Oct 11 18:32:53 2003 +0000

description:
g/c struct swdevt definition and extern decl for swdevt[] - it's not
used in kernel tree anywhere

diffstat:

 sys/sys/conf.h |  16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diffs (31 lines):

diff -r 99e351a1331b -r cdd5a40d6bc5 sys/sys/conf.h
--- a/sys/sys/conf.h    Sat Oct 11 18:30:09 2003 +0000
+++ b/sys/sys/conf.h    Sat Oct 11 18:32:53 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.112 2003/08/07 16:34:00 agc Exp $   */
+/*     $NetBSD: conf.h,v 1.113 2003/10/11 18:32:53 jdolecek Exp $      */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -180,21 +180,7 @@
 int    ttynullioctl __P((struct tty *, u_long, caddr_t, int, struct proc *));
 #endif
 
-/*
- * Swap device table
- */
-struct swdevt {
-       dev_t   sw_dev;
-       int     sw_flags;
-       int     sw_nblks;
-       struct  vnode *sw_vp;
-};
-#define        SW_FREED        0x01
-#define        SW_SEQUENTIAL   0x02
-#define        sw_freed        sw_flags        /* XXX compat */
-
 #ifdef _KERNEL
-extern struct swdevt swdevt[];
 
 #define        DEV_MEM         0       /* minor device 0 is physical memory */
 #define        DEV_KMEM        1       /* minor device 1 is kernel memory */



Home | Main Index | Thread Index | Old Index