diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-27 19:16:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-27 19:16:54 +0000 |
commit | 30b1be2179042384fa652dda414d80f8c2463b77 (patch) | |
tree | 9a5ccc9842c915ff7323616c4c6c05a39e44ff06 /src/testing/testing_new.c | |
parent | 663b3cf348ef49f117906262dbc4aebfb2e34f74 (diff) | |
download | gnunet-30b1be2179042384fa652dda414d80f8c2463b77.tar.gz gnunet-30b1be2179042384fa652dda414d80f8c2463b77.zip |
-fixing testing testcase build issues
Diffstat (limited to 'src/testing/testing_new.c')
-rw-r--r-- | src/testing/testing_new.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/testing/testing_new.c b/src/testing/testing_new.c index 79ece3a26..820e91ff9 100644 --- a/src/testing/testing_new.c +++ b/src/testing/testing_new.c | |||
@@ -204,10 +204,9 @@ GNUNET_TESTING_system_destroy (struct GNUNET_TESTING_System *system, | |||
204 | * @param is_tcp GNUNET_YES for TCP ports, GNUNET_NO for UDP | 204 | * @param is_tcp GNUNET_YES for TCP ports, GNUNET_NO for UDP |
205 | * @return 0 if no free port was available | 205 | * @return 0 if no free port was available |
206 | */ | 206 | */ |
207 | // static | ||
208 | uint16_t | 207 | uint16_t |
209 | reserve_port (struct GNUNET_TESTING_System *system, | 208 | GNUNET_TESTING_reserve_port (struct GNUNET_TESTING_System *system, |
210 | int is_tcp) | 209 | int is_tcp) |
211 | { | 210 | { |
212 | struct GNUNET_NETWORK_Handle *socket; | 211 | struct GNUNET_NETWORK_Handle *socket; |
213 | struct addrinfo hint; | 212 | struct addrinfo hint; |
@@ -277,11 +276,10 @@ reserve_port (struct GNUNET_TESTING_System *system, | |||
277 | * @param is_tcp GNUNET_YES for TCP ports, GNUNET_NO for UDP | 276 | * @param is_tcp GNUNET_YES for TCP ports, GNUNET_NO for UDP |
278 | * @param port reserved port to release | 277 | * @param port reserved port to release |
279 | */ | 278 | */ |
280 | // static | ||
281 | void | 279 | void |
282 | release_port (struct GNUNET_TESTING_System *system, | 280 | GNUNET_TESTING_release_port (struct GNUNET_TESTING_System *system, |
283 | int is_tcp, | 281 | int is_tcp, |
284 | uint16_t port) | 282 | uint16_t port) |
285 | { | 283 | { |
286 | uint32_t *port_buckets; | 284 | uint32_t *port_buckets; |
287 | uint16_t bucket; | 285 | uint16_t bucket; |