aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_dir.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-01-09 10:06:35 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-09 10:06:35 -0500
commite2fcfc6e52e5e95a43df12259055fa38e9a9c06d (patch)
treeb15ba54c6098db33d47bbc33c000bc67ee79fb0f /src/test/test_dir.c
parent1ffba2f1217e5025dd2e6fe783517a22e225c63b (diff)
downloadtor-e2fcfc6e52e5e95a43df12259055fa38e9a9c06d.tar.gz
tor-e2fcfc6e52e5e95a43df12259055fa38e9a9c06d.zip
Put all NS_DECL invocations on single lines.
This is going to make my script happier; these lines will soon disappear.
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r--src/test/test_dir.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 7065012cf1..88a099695a 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -5473,8 +5473,7 @@ test_dir_conn_purpose_to_string(void *data)
teardown_capture_of_logs();
}
-NS_DECL(int,
-public_server_mode, (const or_options_t *options));
+NS_DECL(int, public_server_mode, (const or_options_t *options));
static int
NS(public_server_mode)(const or_options_t *options)
@@ -5542,8 +5541,7 @@ test_dir_should_use_directory_guards(void *data)
tor_free(errmsg);
}
-NS_DECL(void,
-directory_initiate_request, (directory_request_t *req));
+NS_DECL(void, directory_initiate_request, (directory_request_t *req));
static void
test_dir_should_not_init_request_to_ourselves(void *data)