diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-25 20:33:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-25 20:33:57 +0000 |
commit | 93cf4031938ca0f3d13ce491ba9be2c77763ffae (patch) | |
tree | f19ff21d13772eedc42d4f86d1b844891c3e3055 /src/testbed/testbed_api_hosts.c | |
parent | 98764c99d4e56c8520ac5d1f3a056649fa2137fc (diff) | |
download | gnunet-93cf4031938ca0f3d13ce491ba9be2c77763ffae.tar.gz gnunet-93cf4031938ca0f3d13ce491ba9be2c77763ffae.zip |
remove global variable for barriers, move into controller
Diffstat (limited to 'src/testbed/testbed_api_hosts.c')
-rw-r--r-- | src/testbed/testbed_api_hosts.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c index d371108ec..5b1df615e 100644 --- a/src/testbed/testbed_api_hosts.c +++ b/src/testbed/testbed_api_hosts.c | |||
@@ -202,8 +202,7 @@ GNUNET_TESTBED_host_lookup_by_id_ (uint32_t id) | |||
202 | */ | 202 | */ |
203 | struct GNUNET_TESTBED_Host * | 203 | struct GNUNET_TESTBED_Host * |
204 | GNUNET_TESTBED_host_create_by_id_ (uint32_t id, | 204 | GNUNET_TESTBED_host_create_by_id_ (uint32_t id, |
205 | const struct GNUNET_CONFIGURATION_Handle | 205 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
206 | *cfg) | ||
207 | { | 206 | { |
208 | return GNUNET_TESTBED_host_create_with_id (id, NULL, NULL, cfg, 0); | 207 | return GNUNET_TESTBED_host_create_with_id (id, NULL, NULL, cfg, 0); |
209 | } | 208 | } |
@@ -395,7 +394,6 @@ GNUNET_TESTBED_hosts_load_from_file (const char *filename, | |||
395 | *cfg, | 394 | *cfg, |
396 | struct GNUNET_TESTBED_Host ***hosts) | 395 | struct GNUNET_TESTBED_Host ***hosts) |
397 | { | 396 | { |
398 | //struct GNUNET_TESTBED_Host **host_array; | ||
399 | struct GNUNET_TESTBED_Host *starting_host; | 397 | struct GNUNET_TESTBED_Host *starting_host; |
400 | char *data; | 398 | char *data; |
401 | char *buf; | 399 | char *buf; |