summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 04:01:24 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 04:01:24 +0000
commitb3997b80dea472987076a229bb5abad0e10dc19a (patch)
tree2c73fb7cc93f77e98bb5e825ab577f3e3f48203e /sys
parent875c52ae56d2f0a893b71d75fc187c982883d77c (diff)
Fix ugliness caused by __P removing regexp
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/cons.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/sys/dev/cons.h b/sys/dev/cons.h
index ad854cd65a4..6bf414da617 100644
--- a/sys/dev/cons.h
+++ b/sys/dev/cons.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cons.h,v 1.9 2002/03/14 01:26:52 millert Exp $ */
+/* $OpenBSD: cons.h,v 1.10 2002/03/14 04:01:23 millert Exp $ */
/* $NetBSD: cons.h,v 1.14 1996/03/14 19:08:35 christos Exp $ */
/*
@@ -44,12 +44,18 @@
*/
struct consdev {
- void (*cn_probe) /* probe hardware and fill in consdev info */(struct consdev *);
- void (*cn_init) /* turn on as console */(struct consdev *);
- int (*cn_getc) /* kernel getchar interface */(dev_t);
- void (*cn_putc) /* kernel putchar interface */(dev_t, int);
- void (*cn_pollc) /* turn on and off polling */(dev_t, int);
- void (*cn_bell) /* ring bell */(dev_t, u_int, u_int, u_int);
+ void (*cn_probe)(struct consdev *);
+ /* probe hardware and fill in consdev info */
+ void (*cn_init)(struct consdev *);
+ /* turn on as console */
+ int (*cn_getc)(dev_t);
+ /* kernel getchar interface */
+ void (*cn_putc)(dev_t, int);
+ /* kernel putchar interface */
+ void (*cn_pollc)(dev_t, int);
+ /* turn on and off polling */
+ void (*cn_bell)(dev_t, u_int, u_int, u_int);
+ /* ring bell */
dev_t cn_dev; /* major/minor of device */
int cn_pri; /* pecking order; the higher the better */
};