Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/config Not necessary to put fixdevmtab in global se...



details:   https://anonhg.NetBSD.org/src/rev/c95c194ab36a
branches:  trunk
changeset: 542186:c95c194ab36a
user:      gehenna <gehenna%NetBSD.org@localhost>
date:      Thu Jan 23 15:03:44 2003 +0000

description:
Not necessary to put fixdevmtab in global section.

diffstat:

 usr.sbin/config/defs.h  |  3 +--
 usr.sbin/config/files.c |  3 ++-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 3d87401fd7d0 -r c95c194ab36a usr.sbin/config/defs.h
--- a/usr.sbin/config/defs.h    Thu Jan 23 15:01:54 2003 +0000
+++ b/usr.sbin/config/defs.h    Thu Jan 23 15:03:44 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: defs.h,v 1.9 2002/11/17 23:36:19 thorpej Exp $ */
+/*     $NetBSD: defs.h,v 1.10 2003/01/23 15:03:44 gehenna Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -375,7 +375,6 @@
 struct hashtab *deffstab;      /* defined file systems */
 struct hashtab *optfiletab;    /* "defopt"'d option .h files */
 struct hashtab *attrtab;       /* attributes (locators, etc.) */
-struct hashtab *fixdevmtab;    /* duplication fixed devm lookup */
 struct hashtab *bdevmtab;      /* block devm lookup */
 struct hashtab *cdevmtab;      /* character devm lookup */
 
diff -r 3d87401fd7d0 -r c95c194ab36a usr.sbin/config/files.c
--- a/usr.sbin/config/files.c   Thu Jan 23 15:01:54 2003 +0000
+++ b/usr.sbin/config/files.c   Thu Jan 23 15:03:44 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: files.c,v 1.19 2003/01/23 15:01:54 gehenna Exp $       */
+/*     $NetBSD: files.c,v 1.20 2003/01/23 15:03:44 gehenna Exp $       */
 
 /*
  * Copyright (c) 1992, 1993
@@ -334,6 +334,7 @@
 fixdevsw(void)
 {
        struct devm *dm, *res;
+       struct hashtab *fixdevmtab;
        char mstr[16];
 
        fixdevmtab = ht_new();



Home | Main Index | Thread Index | Old Index