diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2009-06-02 21:28:37 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2009-06-02 21:28:37 +0000 |
commit | 09f980458916221509f840029a090c38d3b759ac (patch) | |
tree | 12ad3d18f5f6cac27797e57f8079d4db7dacf245 /sys/netinet | |
parent | 904875093be579da526ea6c04af7463623ae2e3f (diff) |
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@
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_ipsp.c | 4 | ||||
-rw-r--r-- | sys/netinet/ip_ipsp.h | 3 |
2 files changed, 3 insertions, 4 deletions
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 *); |