This small patch fixes cosmetics on console when CYGPKG_NET_FREEBSD_LOGGING is not defined:
Index: packages/net/bsd_tcpip/current/include/sys/param.h =================================================================== RCS file: /cvs/ecos/ecos-opt/net/net/bsd_tcpip/current/include/sys/param.h,v retrieving revision 1.9 diff -u -r1.9 param.h --- packages/net/bsd_tcpip/current/include/sys/param.h 4 Nov 2005 10:37:05 -0000 1.9 +++ packages/net/bsd_tcpip/current/include/sys/param.h 14 Jun 2007 13:58:13 -0000 @@ -1040,7 +1040,7 @@ #else #define log(lvl, args...) #define log_dump(lvl, buf, len) -#define log_(lvl) +#define log_(lvl) if (0) #endif #endif // _KERNEL -- WBR, Alexander
