diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-12-28 10:57:36 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-12-28 10:57:36 +0000 |
commit | 208c81a4ea08249e396df5b74d38250b9d7c95d2 (patch) | |
tree | c502957f1ea3b961107530ddc55ccf7c478296f9 /sbin/isakmpd/transport.c | |
parent | 5414b2466a4950f675c607c5e81859ab1dce2df1 (diff) |
remove some unused functions and an unused variable found by lint.
ok markus@
Diffstat (limited to 'sbin/isakmpd/transport.c')
-rw-r--r-- | sbin/isakmpd/transport.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sbin/isakmpd/transport.c b/sbin/isakmpd/transport.c index 2201e3169ee..b1cd1b96890 100644 --- a/sbin/isakmpd/transport.c +++ b/sbin/isakmpd/transport.c @@ -1,4 +1,4 @@ -/* $OpenBSD: transport.c,v 1.34 2005/10/27 08:19:59 hshoexer Exp $ */ +/* $OpenBSD: transport.c,v 1.35 2005/12/28 10:57:35 hshoexer Exp $ */ /* $EOM: transport.c,v 1.43 2000/10/10 12:36:39 provos Exp $ */ /* @@ -169,16 +169,6 @@ transport_method_add(struct transport_vtbl *t) LIST_INSERT_HEAD(&transport_method_list, t, link); } -/* Apply a function FUNC on all registered (non-toplevel) transports. */ -void -transport_map(void (*func) (struct transport *)) -{ - struct transport *t; - - for (t = LIST_FIRST(&transport_list); t; t = LIST_NEXT(t, link)) - (*func) (t); -} - /* * Build up a file descriptor set FDS with all transport descriptors we want * to read from. Return the number of file descriptors select(2) needs to |