Delete non-illuminating #ifdef-OTHER_OPERATING_SYSTEM code that

confuses ctags(1).
This commit is contained in:
dyoung 2008-05-22 01:27:32 +00:00
parent 1346df7877
commit 8862e80cb4
1 changed files with 1 additions and 29 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_devar.h,v 1.48 2007/03/04 17:55:10 chris Exp $ */
/* $NetBSD: if_devar.h,v 1.49 2008/05/22 01:27:32 dyoung Exp $ */
/*-
* Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com)
@ -970,34 +970,6 @@ NETISR_SET(NETISR_DE, tulip_softintr);
#define loudprintf if (bootverbose) printf
#endif
#if defined(__bsdi__)
#define ifnet_ret_t int
typedef u_long ioctl_cmd_t;
extern struct cfdriver decd;
#define TULIP_UNIT_TO_SOFTC(unit) ((tulip_softc_t *) decd.cd_devs[unit])
#define TULIP_IFP_TO_SOFTC(ifp) (TULIP_UNIT_TO_SOFTC((ifp)->if_unit))
#define TULIP_ETHER_IFATTACH(sc) ether_attach(&(sc)->tulip_if)
#if _BSDI_VERSION >= 199510
#if 0
#define TULIP_BURSTSIZE(unit) log2_burst_size
#endif
#define loudprintf aprint_verbose
#define printf (*sc->tulip_pf)
#define MCNT(x) (sizeof(x) / sizeof(struct ifmedia_entry))
#elif _BSDI_VERSION <= 199401
#define DRQNONE 0
#define loudprintf printf
static void
arp_ifinit(
struct arpcom *ac,
struct ifaddr *ifa)
{
ac->ac_ipaddr = IA_SIN(ifa)->sin_addr;
arpwhohas(ac, &ac->ac_ipaddr);
}
#endif
#endif /* __bsdi__ */
#if defined(__NetBSD__)
#define ifnet_ret_t void
typedef u_long ioctl_cmd_t;