summaryrefslogtreecommitdiff
path: root/sys/dev/cons.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-09-29 12:56:32 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-09-29 12:56:32 +0000
commit65ff43f0c2c1bad56baa5d0be01e478fd3113547 (patch)
treee230dbd9dbc04695d102c35acce5fbc881af9c0f /sys/dev/cons.h
parente53736a186de0d3753163ca3b73fdbdd8e396faa (diff)
Get rid of cnset(). It is only used on amd64/i386 and doesn't really do
anything useful there. Switching from glass console to serial console is already done by cninit(), and the reinitializaton of cn_tab by cnset() breaks the conseleness checks in the wsdisplay code. Tested on various amd64/i386 systems with both glass and serial console. ok mpi@
Diffstat (limited to 'sys/dev/cons.h')
-rw-r--r--sys/dev/cons.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/cons.h b/sys/dev/cons.h
index 1467897403e..2aebc734339 100644
--- a/sys/dev/cons.h
+++ b/sys/dev/cons.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cons.h,v 1.16 2008/01/23 16:37:55 jsing Exp $ */
+/* $OpenBSD: cons.h,v 1.17 2013/09/29 12:56:31 kettenis Exp $ */
/* $NetBSD: cons.h,v 1.14 1996/03/14 19:08:35 christos Exp $ */
/*
@@ -74,7 +74,6 @@ extern struct consdev *cn_tab;
struct knote;
void cninit(void);
-int cnset(dev_t);
int cnopen(dev_t, int, int, struct proc *);
int cnclose(dev_t, int, int, struct proc *);
int cnread(dev_t, struct uio *, int);