aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-05-02 17:14:48 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-05-03 21:47:40 +0200
commitc3f34d06befa352acb343ad08337123d9474535f (patch)
treee9b5cae135395d090800a486791f4ad9dd1bd0ff /src/bench
parent7eb7076f70078c06bef9752f22acf92fd86e616a (diff)
downloadbitcoin-c3f34d06befa352acb343ad08337123d9474535f.tar.xz
Make it clear which functions that are intended to be translation unit local
Do not share functions that are meant to be translation unit local with other translation units. Use internal linkage for those consistently.
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/prevector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/prevector.cpp b/src/bench/prevector.cpp
index d0f28d1a3e..3cfad1b2c4 100644
--- a/src/bench/prevector.cpp
+++ b/src/bench/prevector.cpp
@@ -48,7 +48,7 @@ static void PrevectorClear(benchmark::State& state)
}
template <typename T>
-void PrevectorResize(benchmark::State& state)
+static void PrevectorResize(benchmark::State& state)
{
while (state.KeepRunning()) {
prevector<28, T> t0;