mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02: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:
parent
7eb7076f70
commit
c3f34d06be
43 changed files with 226 additions and 226 deletions
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue