Module Name: src
Committed By: pooka
Date: Thu Apr 29 12:32:48 UTC 2010
Modified Files:
src/sys/sys: conf.h
Log Message:
devsw_conv is not used outside _KERNEL
To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/sys/sys/conf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/conf.h
diff -u src/sys/sys/conf.h:1.135 src/sys/sys/conf.h:1.136
--- src/sys/sys/conf.h:1.135 Sat Jun 20 19:24:27 2009
+++ src/sys/sys/conf.h Thu Apr 29 12:32:48 2010
@@ -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);