summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ipsec.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-11-07 20:38:45 +0000
committerume <ume@FreeBSD.org>2003-11-07 20:38:45 +0000
commitad8ba063dc75e9677434730af25a7c837180929c (patch)
treec34a3197c68f9bf847779a5936356561eed765b1 /sys/netinet6/ipsec.c
parentb6b663a2746ebc839e5448ae8ef6491dc8fa54df (diff)
downloadFreeBSD-src-ad8ba063dc75e9677434730af25a7c837180929c.zip
FreeBSD-src-ad8ba063dc75e9677434730af25a7c837180929c.tar.gz
nuke obsoleted ipsec_gethist(). it just did panic to notify user
that it was obsoleted. it is better to fail than just hiding use of ipsec_gethist() at build. Sugessted by: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Diffstat (limited to 'sys/netinet6/ipsec.c')
-rw-r--r--sys/netinet6/ipsec.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/netinet6/ipsec.c b/sys/netinet6/ipsec.c
index 4c96813..46ecaa4 100644
--- a/sys/netinet6/ipsec.c
+++ b/sys/netinet6/ipsec.c
@@ -3687,15 +3687,6 @@ ipsec_getnhist(m)
return aux->hdrs;
}
-struct ipsec_history *
-ipsec_gethist(m, lenp)
- struct mbuf *m;
- int *lenp;
-{
-
- panic("ipsec_gethist: obsolete API");
-}
-
void
ipsec_clearhist(m)
struct mbuf *m;
OpenPOWER on IntegriCloud