diff options
author | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-01-30 20:45:36 +0000 |
---|---|---|
committer | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-01-30 20:45:36 +0000 |
commit | f4ca009318dd00a3457741ce99764a6ba3d19a3e (patch) | |
tree | ebb8dedcc23a899dc0a07324baf6ec4ce4ad4be4 /sys/kern/tty.c | |
parent | a9a53aa7b56a80647eeb095733a5239751dbf725 (diff) |
Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 7 |
1 files changed, 1 insertions, 6 deletions
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') |