summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipsp.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-07-04 09:48:50 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-07-04 09:48:50 +0000
commite1aada3a39aae8b4fc94078d06ef69a6eeed84b4 (patch)
treebc6662a29330be35567508127c258c6d91ff997d /sys/netinet/ip_ipsp.h
parent6039aa64c4ad237872c8c929bf6f7786159e575d (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.h4
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);