diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-10-07 21:59:34 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-10-07 21:59:34 +0000 |
commit | 42029dea90615aabb34095ab75e07c870aed697e (patch) | |
tree | 9352262ae24879f8db3984f0282cb13b24cae88d /usr.bin/pctr/pctrvar.h | |
parent | 584f3a15eadcca708f1e980aa0e8f7ad0a323666 (diff) |
Move dev->driver over to being a pointer to a const struct, instead of stupidly
filling in a pre-allocated one on each attach.
Makes the code a bunch nicer, shrinks a kernel by about 1.5k on amd64,
helps with my sanity, and paves way for later changes.
Tested by a few for a couple of weeks now.
Diffstat (limited to 'usr.bin/pctr/pctrvar.h')
0 files changed, 0 insertions, 0 deletions