diff options
Diffstat (limited to 'sys/kern/kern_conf.c')
-rw-r--r-- | sys/kern/kern_conf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c index df832f63fb7f..684b36514f8a 100644 --- a/sys/kern/kern_conf.c +++ b/sys/kern/kern_conf.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_conf.c,v 1.28 1998/10/25 17:44:50 phk Exp $ + * $Id: kern_conf.c,v 1.26 1998/06/26 18:14:25 phk Exp $ */ #include <sys/param.h> @@ -57,6 +57,7 @@ int nchrdev = NUMCDEV; dev_t chrtoblk(dev_t dev) { + struct bdevsw *bd; struct cdevsw *cd; if(cd = cdevsw[major(dev)]) { @@ -166,7 +167,7 @@ cdevsw_add_generic(int bdev, int cdev, struct cdevsw *cdevsw) } int -cdevsw_module_handler(module_t mod, int what, void *arg) +cdevsw_module_handler(module_t mod, modeventtype_t what, void* arg) { struct cdevsw_module_data* data = (struct cdevsw_module_data*) arg; int error; @@ -190,7 +191,7 @@ cdevsw_module_handler(module_t mod, int what, void *arg) } int -bdevsw_module_handler(module_t mod, int what, void* arg) +bdevsw_module_handler(module_t mod, modeventtype_t what, void* arg) { struct bdevsw_module_data* data = (struct bdevsw_module_data*) arg; int error; |