diff options
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 |