From f4ca009318dd00a3457741ce99764a6ba3d19a3e Mon Sep 17 00:00:00 2001 From: Thomas Nordin Date: Wed, 30 Jan 2002 20:45:36 +0000 Subject: Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok --- sys/kern/tty.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/kern/tty.c') diff --git a/sys/kern/tty.c b/sys/kern/tty.c index d6a553af795..232ca05f1d9 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.49 2001/12/27 22:34:36 nordin Exp $ */ +/* $OpenBSD: tty.c,v 1.50 2002/01/30 20:45:35 nordin Exp $ */ /* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */ /*- @@ -156,11 +156,6 @@ u_char const char_type[] = { #undef TB #undef VT -/* Macros to clear/set/test flags. */ -#define SET(t, f) (t) |= (f) -#define CLR(t, f) (t) &= ~((unsigned)(f)) -#define ISSET(t, f) ((t) & (f)) - #define islower(c) ((c) >= 'a' && (c) <= 'z') #define isupper(c) ((c) >= 'A' && (c) <= 'Z') -- cgit v1.2.3