Remove another instance of the macro triplet SET/CLR/ISSET, now
found in <sys/types.h>.
This commit is contained in:
parent
f656fa41eb
commit
377126348b
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ser.c,v 1.27 2005/12/11 12:16:54 christos Exp $ */
|
||||
/* $NetBSD: ser.c,v 1.28 2006/03/06 18:42:58 he Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -100,7 +100,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.27 2005/12/11 12:16:54 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.28 2006/03/06 18:42:58 he Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_mbtype.h"
|
||||
|
@ -155,11 +155,6 @@ __KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.27 2005/12/11 12:16:54 christos Exp $");
|
|||
#define CONSCFLAG TTYDEF_CFLAG
|
||||
/* end XXX */
|
||||
|
||||
/* Macros to clear/set/test flags. */
|
||||
#define SET(t, f) (t) |= (f)
|
||||
#define CLR(t, f) (t) &= ~(f)
|
||||
#define ISSET(t, f) ((t) & (f))
|
||||
|
||||
#define splserial() spl6()
|
||||
|
||||
/* Buffer size for character buffer */
|
||||
|
|
Loading…
Reference in New Issue