summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2002-06-25 00:21:59 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2002-06-25 00:21:59 +0000
commitc9317bed7464925ef8cef708f1be0d75cbd39ce4 (patch)
treebc5c777b693dfa271bfe90756eddd7fae4ee2352
parent08ca93d09ad9b6ea6b0c3561370d42c9e8df653b (diff)
Ifdef the function proto as well.
-rw-r--r--sys/netinet/udp_usrreq.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 644969a468c..c967cf3f4be 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp_usrreq.c,v 1.80 2002/06/25 00:21:32 angelos Exp $ */
+/* $OpenBSD: udp_usrreq.c,v 1.81 2002/06/25 00:21:58 angelos Exp $ */
/* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */
/*
@@ -112,7 +112,10 @@ int udpcksum = 1;
static void udp_detach(struct inpcb *);
static void udp_notify(struct inpcb *, int);
static struct mbuf *udp_saveopt(caddr_t, int, int);
+
+#ifdef IPSEC
int udp_check_ipsec(struct mbuf *, struct inpcb *, union sockaddr_union, int);
+#endif /* IPSEC */
#ifndef UDBHASHSIZE
#define UDBHASHSIZE 128