diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/testing/testing_group.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c index 27b3b2cad..a48f628c9 100644 --- a/src/testing/testing_group.c +++ b/src/testing/testing_group.c | |||
@@ -2424,6 +2424,7 @@ unblacklist_iterator (void *cls, | |||
2424 | } | 2424 | } |
2425 | #endif | 2425 | #endif |
2426 | 2426 | ||
2427 | #if !OLD | ||
2427 | /** | 2428 | /** |
2428 | * Create a blacklist topology based on the allowed topology | 2429 | * Create a blacklist topology based on the allowed topology |
2429 | * which disallows any connections not in the allowed topology | 2430 | * which disallows any connections not in the allowed topology |
@@ -2437,8 +2438,8 @@ unblacklist_iterator (void *cls, | |||
2437 | * | 2438 | * |
2438 | */ | 2439 | */ |
2439 | static unsigned int | 2440 | static unsigned int |
2440 | copy_allowed(struct GNUNET_TESTING_PeerGroup *pg, | 2441 | copy_allowed (struct GNUNET_TESTING_PeerGroup *pg, |
2441 | GNUNET_TESTING_ConnectionProcessor proc) | 2442 | GNUNET_TESTING_ConnectionProcessor proc) |
2442 | { | 2443 | { |
2443 | unsigned int count; | 2444 | unsigned int count; |
2444 | unsigned int total; | 2445 | unsigned int total; |
@@ -2471,6 +2472,7 @@ copy_allowed(struct GNUNET_TESTING_PeerGroup *pg, | |||
2471 | total); | 2472 | total); |
2472 | return total; | 2473 | return total; |
2473 | } | 2474 | } |
2475 | #endif | ||
2474 | 2476 | ||
2475 | /** | 2477 | /** |
2476 | * Create a topology given a peer group (set of running peers) | 2478 | * Create a topology given a peer group (set of running peers) |