summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-03-14 04:01:23 +0000
committermillert <millert@openbsd.org>2002-03-14 04:01:23 +0000
commit8deb8f7115dbeb63140aa60a53c80aaa9f6bac85 (patch)
tree50a1745e7c4b2f6104a6277030dce2c02db74e2a
parentuse getprop, not getpropstring to fetch 'magma_prom' property... (diff)
downloadwireguard-openbsd-8deb8f7115dbeb63140aa60a53c80aaa9f6bac85.tar.xz
wireguard-openbsd-8deb8f7115dbeb63140aa60a53c80aaa9f6bac85.zip
Fix ugliness caused by __P removing regexp
-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 */
};