Polish cdev example
authorStathis Kamperis <ekamperi@gmail.com>
Fri, 6 Feb 2009 16:33:38 +0000 (16:33 +0000)
committerMatthias Schmidt <matthias@dragonflybsd.org>
Sat, 7 Feb 2009 19:06:40 +0000 (20:06 +0100)
commitff03aae019da8ab589db2863df14ba1fe77ddb00
tree0ad4ebba677105e36c6eac70dbc1d2c7fd83aef8
parent54c778f3b2e12ca0c90f9e680c2ec568e9b75461
Polish cdev example

- dev_t is cdev_t now
- include stdlib.h needed by exit(3)
- respect the ``80 columns per line'' limit
- comply with KNF

No functional change intended
share/examples/kld/cdev/module/cdev.c
share/examples/kld/cdev/module/cdevmod.c
share/examples/kld/cdev/test/testcdev.c