summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-06-08 12:38:27 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-06-08 12:38:27 -0400
commit7cddd64b3131812b82feffe2deb311bf6ab9a262 (patch)
tree103b8f626164ee12b599a09fa91544ad2eb126dd /tests
parenteba6367a13d67fc148a8c78680f73d48b86a5dba (diff)
downloadbfs-7cddd64b3131812b82feffe2deb311bf6ab9a262.tar.xz
build: Add -Wmissing-variable-declarations
Diffstat (limited to 'tests')
-rw-r--r--tests/trie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/trie.c b/tests/trie.c
index 4667322..ebaae5d 100644
--- a/tests/trie.c
+++ b/tests/trie.c
@@ -8,7 +8,7 @@
#include <stdlib.h>
#include <string.h>
-const char *keys[] = {
+static const char *keys[] = {
"foo",
"bar",
"baz",
@@ -37,7 +37,7 @@ const char *keys[] = {
">>>",
};
-const size_t nkeys = countof(keys);
+static const size_t nkeys = countof(keys);
bool check_trie(void) {
bool ret = true;