Source-Changes-HG archive

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

[src/trunk]: src/sys/sys devsw_conv is not used outside _KERNEL



details:   https://anonhg.NetBSD.org/src/rev/a71e19807a98
branches:  trunk
changeset: 754388:a71e19807a98
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Apr 29 12:32:48 2010 +0000

description:
devsw_conv is not used outside _KERNEL

diffstat:

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

diffs (25 lines):

diff -r 57684adea398 -r a71e19807a98 sys/sys/conf.h
--- a/sys/sys/conf.h    Thu Apr 29 10:03:12 2010 +0000
+++ b/sys/sys/conf.h    Thu Apr 29 12:32:48 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.135 2009/06/20 19:24:27 mrg Exp $   */
+/*     $NetBSD: conf.h,v 1.136 2010/04/29 12:32:48 pooka Exp $ */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -228,15 +228,12 @@
 #endif
 #define        DEV_ZERO        12      /* minor device 12 is '\0'/rathole */
 
-#endif /* _KERNEL */
-
 struct devsw_conv {
        const char *d_name;
        devmajor_t d_bmajor;
        devmajor_t d_cmajor;
 };
 
-#ifdef _KERNEL
 void devsw_init(void);
 const char *devsw_blk2name(devmajor_t);
 const char *cdevsw_getname(devmajor_t);



Home | Main Index | Thread Index | Old Index