Delete the local definitions of CLR, SET and ISSET, since they are
now in <sys/types.h>.
This commit is contained in:
parent
c3eb071ee0
commit
5fa2f4d231
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: footbridge_com.c,v 1.16 2005/12/11 12:16:45 christos Exp $ */
|
||||
/* $NetBSD: footbridge_com.c,v 1.17 2006/03/06 07:54:12 he Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 Mark Brinicombe
|
||||
|
@ -36,7 +36,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: footbridge_com.c,v 1.16 2005/12/11 12:16:45 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: footbridge_com.c,v 1.17 2006/03/06 07:54:12 he Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_ddbparam.h"
|
||||
|
@ -99,11 +99,6 @@ struct fcom_softc {
|
|||
|
||||
#define RX_BUFFER_SIZE 0x100
|
||||
|
||||
/* Macros to clear/set/test flags. */
|
||||
#define SET(t, f) (t) |= (f)
|
||||
#define CLR(t, f) (t) &= ~(f)
|
||||
#define ISSET(t, f) ((t) & (f))
|
||||
|
||||
static int fcom_probe __P((struct device *, struct cfdata *, void *));
|
||||
static void fcom_attach __P((struct device *, struct device *, void *));
|
||||
static void fcom_softintr __P((void *));
|
||||
|
|
Loading…
Reference in New Issue