follow'/>
summaryrefslogtreecommitdiff
path: root/sys/dev/nullcons_subr.c
AgeCommit message (Collapse)Author
2014-07-25Add d_discard to all struct cdevsw instances I could find.dholland
All have been set to "nodiscard"; some should get a real implementation.
2014-03-16Change (mostly mechanically) every cdevsw/bdevsw I can find to usedholland
designated initializers. I have not built every extant kernel so I have probably broken at least one build; however I've also found and fixed some wrong cdevsw/bdevsw entries so even if so I think we come out ahead.
2011-04-24Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() forrmind
consistency. Remove some unnecessary malloc.h inclusions as well.
2009-11-23Remove some unecessary includes sys/user.h header.rmind
2009-04-16- remove an extra decl of cn_tab, which is in <dev/cons.h>tsutsui
- some KNF
2009-03-14Change about 4500 of the K&R function definitions to ANSI ones.dsl
There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
2009-02-28Return EIO rather than getting an infinite loop in the nullcons read functiontsutsui
so that getty(8) against nullcons console fails properly. Problem on Cobalt Qube2700 reported by Wolfgang Solfrank on port-cobalt.
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos