From e47f61e18396b6e5f61ee91b9f9f832976ee96cf Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 2 Sep 2000 19:17:34 +0000 Subject: Avoid the modules madness I inadvertently introduced by making the cloning infrastructure standard in kern_conf. Modules are now the same with or without devfs support. If you need to detect if devfs is present, in modules or elsewhere, check the integer variable "devfs_present". This happily removes an ugly hack from kern/vfs_conf.c. This forces a rename of the eventhandler and the standard clone helper function. Include in : it's a helper #include like Remove all #includes of opt_devfs.h they no longer matter. --- sys/dev/sound/midi/midi.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev/sound/midi/midi.c') diff --git a/sys/dev/sound/midi/midi.c b/sys/dev/sound/midi/midi.c index 83152cf..429a564 100644 --- a/sys/dev/sound/midi/midi.c +++ b/sys/dev/sound/midi/midi.c @@ -50,8 +50,6 @@ * */ -#include "opt_devfs.h" - #include static devclass_t midi_devclass; -- cgit v1.1