Staticize file-local variables
diff --git a/tests/blame/buffer.c b/tests/blame/buffer.c
index 912ee98..340b1dc 100644
--- a/tests/blame/buffer.c
+++ b/tests/blame/buffer.c
@@ -1,7 +1,7 @@
#include "blame_helpers.h"
-git_repository *g_repo;
-git_blame *g_fileblame, *g_bufferblame;
+static git_repository *g_repo;
+static git_blame *g_fileblame, *g_bufferblame;
void test_blame_buffer__initialize(void)
{
diff --git a/tests/index/addall.c b/tests/index/addall.c
index 4527337..a7e2583 100644
--- a/tests/index/addall.c
+++ b/tests/index/addall.c
@@ -3,7 +3,7 @@
#include "posix.h"
#include "fileops.h"
-git_repository *g_repo = NULL;
+static git_repository *g_repo = NULL;
#define TEST_DIR "addall"
void test_index_addall__initialize(void)