aboutsummaryrefslogtreecommitdiff
path: root/share/examples/kld/cdev/module/cdev.h
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1999-06-27 12:44:44 +0000
committerDoug Rabson <dfr@FreeBSD.org>1999-06-27 12:44:44 +0000
commit0f2a20dfd7d063b414a4280bf57edb29b5d772d8 (patch)
tree1930b19874245434f2580fd54ec272486beb582e /share/examples/kld/cdev/module/cdev.h
parente96c1fdc3ff516d0042722c3918edb9a9be874bd (diff)
Notes
Diffstat (limited to 'share/examples/kld/cdev/module/cdev.h')
-rw-r--r--share/examples/kld/cdev/module/cdev.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/share/examples/kld/cdev/module/cdev.h b/share/examples/kld/cdev/module/cdev.h
index 34c82353b041..88b3cb908896 100644
--- a/share/examples/kld/cdev/module/cdev.h
+++ b/share/examples/kld/cdev/module/cdev.h
@@ -70,29 +70,8 @@
#ifndef __CDEV_H_
#define __CDEV_H_
-#include <sys/conf.h>
-
d_open_t mydev_open;
d_close_t mydev_close;
d_ioctl_t mydev_ioctl;
-#define CDEV_MAJOR 32
-
-static struct cdevsw my_devsw = {
- mydev_open,
- mydev_close,
- noread,
- nowrite,
- mydev_ioctl,
- nostop,
- noreset,
- nodevtotty,
- NULL,
- nommap,
- NULL,
- "cdev",
- NULL,
- CDEV_MAJOR
-};
-
#endif