mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-09 07:05:34 +01:00
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.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
// Test if a string consists entirely of null characters
|
||||
bool is_null_key(const std::vector<unsigned char>& key) {
|
||||
static bool is_null_key(const std::vector<unsigned char>& key) {
|
||||
bool isnull = true;
|
||||
|
||||
for (unsigned int i = 0; i < key.size(); i++)
|
||||
|
||||
Reference in New Issue
Block a user