aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-11-01 13:22:16 -0400
committerNick Mathewson <nickm@torproject.org>2017-11-01 13:22:16 -0400
commitef25f957e7912491ced116733e699ee341f2dadc (patch)
tree5764fb29363c8a75f2e34833caee590c7f2eeb54 /src/test
parent9635843342cb98340a965c40d9afcbe69c8d12df (diff)
parent221f5238aed47f4436916a1da5c6f0423c7fe3e1 (diff)
downloadtor-ef25f957e7912491ced116733e699ee341f2dadc.tar.gz
tor-ef25f957e7912491ced116733e699ee341f2dadc.zip
Merge branch 'tor_api_squashed'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/bench.c5
-rw-r--r--src/test/fuzz/fuzzing_common.c3
-rw-r--r--src/test/testing_common.c6
3 files changed, 0 insertions, 14 deletions
diff --git a/src/test/bench.c b/src/test/bench.c
index b7b123eee2..f30b609900 100644
--- a/src/test/bench.c
+++ b/src/test/bench.c
@@ -3,11 +3,6 @@
* Copyright (c) 2007-2017, The Tor Project, Inc. */
/* See LICENSE for licensing information */
-extern const char tor_git_revision[];
-/* Ordinarily defined in tor_main.c; this bit is just here to provide one
- * since we're not linking to tor_main.c */
-const char tor_git_revision[] = "";
-
/**
* \file bench.c
* \brief Benchmarks for lower level Tor modules.
diff --git a/src/test/fuzz/fuzzing_common.c b/src/test/fuzz/fuzzing_common.c
index 7ebddde1a8..d5c71859b5 100644
--- a/src/test/fuzz/fuzzing_common.c
+++ b/src/test/fuzz/fuzzing_common.c
@@ -9,9 +9,6 @@
#include "crypto.h"
#include "crypto_ed25519.h"
-extern const char tor_git_revision[];
-const char tor_git_revision[] = "";
-
static or_options_t *mock_options = NULL;
static const or_options_t *
mock_get_options(void)
diff --git a/src/test/testing_common.c b/src/test/testing_common.c
index 7e9c47b48d..e43fa46c84 100644
--- a/src/test/testing_common.c
+++ b/src/test/testing_common.c
@@ -3,12 +3,6 @@
* Copyright (c) 2007-2017, The Tor Project, Inc. */
/* See LICENSE for licensing information */
-extern const char tor_git_revision[];
-
-/* Ordinarily defined in tor_main.c; this bit is just here to provide one
- * since we're not linking to tor_main.c */
-const char tor_git_revision[] = "";
-
/**
* \file test_common.c
* \brief Common pieces to implement unit tests.