move ipsec_{hex,bin}dump() into #ifdef wrapper.
libipsec: remove unnecessary #include key_debug.h.
This commit is contained in:
parent
a02e08bf4f
commit
aa0b8be4f4
|
@ -1,5 +1,5 @@
|
|||
/* $NetBSD: policy_token.l,v 1.4 2000/06/12 10:40:52 itojun Exp $ */
|
||||
/* $KAME: policy_token.l,v 1.9 2000/05/07 05:25:03 itojun Exp $ */
|
||||
/* $NetBSD: policy_token.l,v 1.5 2000/07/04 04:41:55 itojun Exp $ */
|
||||
/* $KAME: policy_token.l,v 1.10 2000/07/04 04:03:33 itojun Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
|
||||
|
@ -37,7 +37,6 @@
|
|||
#include <net/route.h>
|
||||
#include <net/pfkeyv2.h>
|
||||
#include <netkey/keydb.h>
|
||||
#include <netkey/key_debug.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet6/ipsec.h>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* $NetBSD: key_debug.c,v 1.12 2000/07/01 01:01:36 itojun Exp $ */
|
||||
/* $KAME: key_debug.c,v 1.22 2000/06/22 08:38:34 sakane Exp $ */
|
||||
/* $NetBSD: key_debug.c,v 1.13 2000/07/04 04:41:54 itojun Exp $ */
|
||||
/* $KAME: key_debug.c,v 1.23 2000/07/04 04:08:15 itojun Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
|
@ -706,8 +706,6 @@ kdebug_sockaddr(addr)
|
|||
return;
|
||||
}
|
||||
|
||||
#endif /* !defined(_KERNEL) || (defined(_KERNEL) && defined(IPSEC_DEBUG)) */
|
||||
|
||||
void
|
||||
ipsec_bindump(buf, len)
|
||||
caddr_t buf;
|
||||
|
@ -741,3 +739,4 @@ ipsec_hexdump(buf, len)
|
|||
return;
|
||||
}
|
||||
|
||||
#endif /* !defined(_KERNEL) || (defined(_KERNEL) && defined(IPSEC_DEBUG)) */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* $NetBSD: key_debug.h,v 1.6 2000/06/12 10:40:48 itojun Exp $ */
|
||||
/* $KAME: key_debug.h,v 1.6 2000/03/27 05:11:05 sumikawa Exp $ */
|
||||
/* $NetBSD: key_debug.h,v 1.7 2000/07/04 04:41:54 itojun Exp $ */
|
||||
/* $KAME: key_debug.h,v 1.7 2000/07/04 04:08:16 itojun Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
|
@ -83,14 +83,13 @@ extern void kdebug_mbuf __P((struct mbuf *));
|
|||
struct sockaddr;
|
||||
extern void kdebug_sockaddr __P((struct sockaddr *));
|
||||
|
||||
extern void ipsec_hexdump __P((caddr_t, int));
|
||||
extern void ipsec_bindump __P((caddr_t, int));
|
||||
|
||||
#else
|
||||
|
||||
#define KEYDEBUG(lev,arg)
|
||||
|
||||
#endif /*!defined(_KERNEL) || (defined(_KERNEL) && defined(IPSEC_DEBUG))*/
|
||||
|
||||
extern void ipsec_hexdump __P((caddr_t, int));
|
||||
extern void ipsec_bindump __P((caddr_t, int));
|
||||
|
||||
#endif /* _NETKEY_KEY_DEBUG_H_ */
|
||||
|
||||
|
|
Loading…
Reference in New Issue