summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsdisplay.c
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2002-01-30 20:45:36 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2002-01-30 20:45:36 +0000
commitf4ca009318dd00a3457741ce99764a6ba3d19a3e (patch)
treeebb8dedcc23a899dc0a07324baf6ec4ce4ad4be4 /sys/dev/wscons/wsdisplay.c
parenta9a53aa7b56a80647eeb095733a5239751dbf725 (diff)
Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok
Diffstat (limited to 'sys/dev/wscons/wsdisplay.c')
-rw-r--r--sys/dev/wscons/wsdisplay.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c
index 1efd8e38a08..7b26856bc51 100644
--- a/sys/dev/wscons/wsdisplay.c
+++ b/sys/dev/wscons/wsdisplay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsdisplay.c,v 1.36 2001/11/26 16:02:30 mickey Exp $ */
+/* $OpenBSD: wsdisplay.c,v 1.37 2002/01/30 20:45:34 nordin Exp $ */
/* $NetBSD: wsdisplay.c,v 1.37.4.1 2000/06/30 16:27:53 simonb Exp $ */
/*
@@ -206,10 +206,6 @@ int wsdisplayparam __P((struct tty *, struct termios *));
/* Internal macros, functions, and variables. */
-#define SET(t, f) (t) |= (f)
-#define CLR(t, f) (t) &= ~(f)
-#define ISSET(t, f) ((t) & (f))
-
#define WSDISPLAYUNIT(dev) (minor(dev) >> 8)
#define WSDISPLAYSCREEN(dev) (minor(dev) & 0xff)
#define ISWSDISPLAYCTL(dev) (WSDISPLAYSCREEN(dev) == 255)