Claudio Martella wrote this message on Tue, Mar 16, 2004 at 01:00 +0100: > Hi, i'm writing a driver, and noticed the noread() nopoll() etc > general-use functions for struct cdevsw are no longer present in 5.x. What > can i use in 5.x?
In 5.x we now use C99 sparse struct initalization for this. You can just not include them in your definition, and you'll get the defaults for this.. check prep_cdevsw in kern_conf.c for how this is done... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"