diff options
| author | MarcoFalke <[email protected]> | 2018-05-04 16:42:39 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-05-04 16:42:50 -0400 |
| commit | f82e1c94821212cc8962775a7a29599ebd92eee0 (patch) | |
| tree | ad8549dcb6b5ffcb7f0d84a4edb21efbfd2ce51e /src/test/dbwrapper_tests.cpp | |
| parent | Merge #13165: doc: Mention good first issue list in CONTRIBUTING.md (diff) | |
| parent | Make it clear which functions that are intended to be translation unit local (diff) | |
| download | discoin-f82e1c94821212cc8962775a7a29599ebd92eee0.tar.xz discoin-f82e1c94821212cc8962775a7a29599ebd92eee0.zip | |
Merge #13163: Make it clear which functions that are intended to be translation unit local
c3f34d06be Make it clear which functions that are intended to be translation unit local (practicalswift)
Pull request description:
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.
Tree-SHA512: 05eebd233d5cfbf6116724eec3a99b465bf534ca220f2b6f5e56341a7da41387454d3cb6ceadd8ab6714a5df94069e4ad0dcab8801ccc7e8949be7199a19fb53
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++) |