diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-01-16 20:44:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-01-16 20:44:56 +0000 |
commit | dfb4dfbde04e233b5ab0c489aa3aacacd8a696ba (patch) | |
tree | b4dba023560e47650355e28993961646aae85f26 /src/transport/test_plugin_transport.c | |
parent | d6f386ca51514316d7fd06b26a02fb3833379983 (diff) | |
download | gnunet-dfb4dfbde04e233b5ab0c489aa3aacacd8a696ba.tar.gz gnunet-dfb4dfbde04e233b5ab0c489aa3aacacd8a696ba.zip |
further simplify transport API
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r-- | src/transport/test_plugin_transport.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c index 283312bfe..d4183fc27 100644 --- a/src/transport/test_plugin_transport.c +++ b/src/transport/test_plugin_transport.c | |||
@@ -92,10 +92,8 @@ static int ok; | |||
92 | /** | 92 | /** |
93 | * Initialize Environment for this plugin | 93 | * Initialize Environment for this plugin |
94 | */ | 94 | */ |
95 | struct ReadyList * | 95 | static void |
96 | receive(void *cls, | 96 | receive(void *cls, |
97 | struct ReadyList * | ||
98 | service_context, | ||
99 | struct GNUNET_TIME_Relative | 97 | struct GNUNET_TIME_Relative |
100 | latency, | 98 | latency, |
101 | const struct GNUNET_PeerIdentity | 99 | const struct GNUNET_PeerIdentity |
@@ -103,7 +101,7 @@ receive(void *cls, | |||
103 | const struct GNUNET_MessageHeader | 101 | const struct GNUNET_MessageHeader |
104 | * message) | 102 | * message) |
105 | { | 103 | { |
106 | return NULL; | 104 | /* do nothing */ |
107 | } | 105 | } |
108 | 106 | ||
109 | void notify_address(void *cls, | 107 | void notify_address(void *cls, |