# HG changeset patch # User nickg # Date 1058983282 0 # Node ID b56e22bed6a2a22eddb6580b5596521aadb09476 # Parent 7d37ed23acc47c6491df8e457bbc3674b8d13a3c * include/eth_drv.h: * src/net/eth_drv.c: Added an ifndef to fix warnings about NBPFILTER not being defined. diff --git a/packages/io/eth/current/ChangeLog b/packages/io/eth/current/ChangeLog --- a/packages/io/eth/current/ChangeLog +++ b/packages/io/eth/current/ChangeLog @@ -1,3 +1,10 @@ +2003-07-23 Nick Garnett + + * include/eth_drv.h: + * src/net/eth_drv.c: + Added an ifndef to fix warnings about NBPFILTER not being + defined. + 2003-03-20 Mark Salter * cdl/eth_drivers.cdl (CYGHWR_NET_DRIVERS): Moved here from net/common. diff --git a/packages/io/eth/current/include/eth_drv.h b/packages/io/eth/current/include/eth_drv.h --- a/packages/io/eth/current/include/eth_drv.h +++ b/packages/io/eth/current/include/eth_drv.h @@ -73,6 +73,10 @@ #include #endif +#ifndef NBPFILTER +#define NBPFILTER 0 +#endif + #if NBPFILTER > 0 #include #include diff --git a/packages/io/eth/current/src/net/eth_drv.c b/packages/io/eth/current/src/net/eth_drv.c --- a/packages/io/eth/current/src/net/eth_drv.c +++ b/packages/io/eth/current/src/net/eth_drv.c @@ -73,6 +73,10 @@ #include #endif +#ifndef NBPFILTER +#define NBPFILTER 0 +#endif + #if NBPFILTER > 0 #include #include