diff options
author | Andrea Shepard <andrea@torproject.org> | 2016-06-30 06:59:29 +0000 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2016-06-30 07:03:26 +0000 |
commit | 9580b99dab217cc14b3dab78962bfb3bfd51922a (patch) | |
tree | f72f22a1c0781ebd45e3a4ceaa67fa4f93456fc6 /src/or/routerparse.c | |
parent | f99c9df02b6ac0c7804013bca951ecaf5744c2db (diff) | |
download | tor-9580b99dab217cc14b3dab78962bfb3bfd51922a.tar.gz tor-9580b99dab217cc14b3dab78962bfb3bfd51922a.zip |
Add unit test for dump_desc_populate_fifo_from_directory()
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 3436bfb86b..2260693939 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -588,8 +588,6 @@ static int check_signature_token(const char *digest, /* Dump mechanism for unparseable descriptors */ -static void dump_desc_populate_fifo_from_directory(const char *dirname); - /** List of dumped descriptors for FIFO cleanup purposes */ STATIC smartlist_t *descs_dumped = NULL; /** Total size of dumped descriptors for FIFO cleanup */ @@ -972,7 +970,7 @@ dump_desc_compare_fifo_entries(const void **a_v, const void **b_v) * reconstructed order will be wrong, but will always be a permutation of * the original. */ -static void +STATIC void dump_desc_populate_fifo_from_directory(const char *dirname) { smartlist_t *files = NULL; |