From 6cc0ff803561b9c05736781042811d73d75761b2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 15 Jan 2010 12:21:02 +0000 Subject: [PATCH] fix --- src/transport/test_plugin_transport.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c index 2cca79cb0..283312bfe 100644 --- a/src/transport/test_plugin_transport.c +++ b/src/transport/test_plugin_transport.c @@ -93,7 +93,7 @@ static int ok; * Initialize Environment for this plugin */ struct ReadyList * -receive(void *cls,void *plugin_context, +receive(void *cls, struct ReadyList * service_context, struct GNUNET_TIME_Relative @@ -116,17 +116,6 @@ void notify_address(void *cls, { } -void lookup (void *cls, - struct GNUNET_TIME_Relative - timeout, - const struct - GNUNET_PeerIdentity * target, - GNUNET_TRANSPORT_AddressCallback - iter, void *iter_cls) -{ -} - - /** * Function called when the service shuts * down. Unloads our plugins. @@ -243,7 +232,6 @@ static void setup_plugin_environment() env.my_identity = &my_identity; env.cls=&env; env.receive=&receive; - env.lookup=&lookup; env.notify_address=¬ify_address; env.notify_validation = &validation_notification; env.max_connections = max_connect_per_transport; -- 2.25.1