diff options
| author | practicalswift <[email protected]> | 2018-05-02 17:14:48 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-05-03 21:47:40 +0200 |
| commit | c3f34d06befa352acb343ad08337123d9474535f (patch) | |
| tree | e9b5cae135395d090800a486791f4ad9dd1bd0ff /src/test/dbwrapper_tests.cpp | |
| parent | Merge #12639: Reduce cs_main lock in listunspent (diff) | |
| download | discoin-c3f34d06befa352acb343ad08337123d9474535f.tar.xz discoin-c3f34d06befa352acb343ad08337123d9474535f.zip | |
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/test/dbwrapper_tests.cpp')
| -rw-r--r-- | src/test/dbwrapper_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/dbwrapper_tests.cpp b/src/test/dbwrapper_tests.cpp index edc41ec42..6df5aec9c 100644 --- a/src/test/dbwrapper_tests.cpp +++ b/src/test/dbwrapper_tests.cpp @@ -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++) |