X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/91447636331957f3d9b5ca5b508f07c526b0074d..bd504ef0e0b883cdd7917b73b3574eb9ce669905:/bsd/netkey/key_debug.h diff --git a/bsd/netkey/key_debug.h b/bsd/netkey/key_debug.h index a9f823d77..b2e94a3ad 100644 --- a/bsd/netkey/key_debug.h +++ b/bsd/netkey/key_debug.h @@ -52,8 +52,12 @@ #define KEYDEBUG_IPSEC_DATA (KEYDEBUG_IPSEC | KEYDEBUG_DATA) #define KEYDEBUG_IPSEC_DUMP (KEYDEBUG_IPSEC | KEYDEBUG_DUMP) +#if 0 #define KEYDEBUG(lev,arg) \ do { if ((key_debug_level & (lev)) == (lev)) { arg; } } while (0) +#else +#define KEYDEBUG(lev,arg) +#endif struct sadb_msg; struct sadb_ext; @@ -75,7 +79,7 @@ extern void kdebug_secasindex(struct secasindex *); extern void kdebug_secasv(struct secasvar *); extern void kdebug_mbufhdr(struct mbuf *); extern void kdebug_mbuf(struct mbuf *); -#endif KERNEL +#endif /* KERNEL */ struct sockaddr; extern void kdebug_sockaddr(struct sockaddr *); @@ -83,7 +87,6 @@ extern void kdebug_sockaddr(struct sockaddr *); extern void ipsec_hexdump(caddr_t, int); extern void ipsec_bindump(caddr_t, int); -#define KEYDEBUG(lev,arg) #endif /* _NETKEY_KEY_DEBUG_H_ */