From 0d8265c8af1b8ba11ed0818e81276239c47e11db Mon Sep 17 00:00:00 2001 From: Ben Straub Date: Sat, 22 Feb 2014 09:25:41 -0800 Subject: [PATCH] Staticize file-local variables --- tests/blame/buffer.c | 4 ++-- tests/index/addall.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/blame/buffer.c b/tests/blame/buffer.c index 912ee9846..340b1dced 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 452733710..a7e2583b2 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)