diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-07-04 09:48:50 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-07-04 09:48:50 +0000 |
commit | e1aada3a39aae8b4fc94078d06ef69a6eeed84b4 (patch) | |
tree | bc6662a29330be35567508127c258c6d91ff997d /sys/netinet/ip_ipsp.h | |
parent | 6039aa64c4ad237872c8c929bf6f7786159e575d (diff) |
These functions are only used in debug code, so put them under
ifdef ENCDEBUG to make sure we don't use them elsewhere.
Diffstat (limited to 'sys/netinet/ip_ipsp.h')
-rw-r--r-- | sys/netinet/ip_ipsp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index 269fb51d467..c4ecfee8da3 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.154 2013/04/11 12:06:25 mpi Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.155 2013/07/04 09:48:49 mpi Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr), @@ -502,8 +502,10 @@ do { \ /* Misc. */ uint8_t get_sa_require(struct inpcb *); +#ifdef ENCDEBUG char *inet_ntoa4(struct in_addr); char *ipsp_address(union sockaddr_union); +#endif /* ENCDEBUG */ /* TDB management routines */ void tdb_add_inp(struct tdb *, struct inpcb *, int); |