From 09f980458916221509f840029a090c38d3b759ac Mon Sep 17 00:00:00 2001 From: Bret Lambert Date: Tue, 2 Jun 2009 21:28:37 +0000 Subject: Shuffle function declarations a bit; ipsp_kern doesn't actually exist, and tdb_hash is only used in ip_ipsp.c, so there's no need to declare it as extern in ip_ipsp.h ok claudio@ henning@ --- sys/netinet/ip_ipsp.c | 4 ++-- sys/netinet/ip_ipsp.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/netinet') diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c index d156c629e99..7beb7cfeafe 100644 --- a/sys/netinet/ip_ipsp.c +++ b/sys/netinet/ip_ipsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.c,v 1.176 2009/06/02 11:05:09 oga Exp $ */ +/* $OpenBSD: ip_ipsp.c,v 1.177 2009/06/02 21:28:36 blambert Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr), @@ -87,13 +87,13 @@ void tdb_hashstats(void); #define DPRINTF(x) #endif -int ipsp_kern(int, char **, int); u_int8_t get_sa_require(struct inpcb *); void tdb_rehash(void); void tdb_timeout(void *v); void tdb_firstuse(void *v); void tdb_soft_timeout(void *v); void tdb_soft_firstuse(void *v); +int tdb_hash(u_int32_t, union sockaddr_union *, u_int8_t); extern int ipsec_auth_default_level; extern int ipsec_esp_trans_default_level; diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index eda47178441..d58575fb9e6 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.137 2009/02/16 00:31:25 dlg Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.138 2009/06/02 21:28:36 blambert Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr), @@ -524,7 +524,6 @@ extern void puttdb(struct tdb *); extern void tdb_delete(struct tdb *); extern struct tdb *tdb_alloc(void); extern void tdb_free(struct tdb *); -extern int tdb_hash(u_int32_t, union sockaddr_union *, u_int8_t); extern int tdb_init(struct tdb *, u_int16_t, struct ipsecinit *); extern int tdb_walk(int (*)(struct tdb *, void *, int), void *); -- cgit v1.2.3