diff options
author | Ben Straub <bs@github.com> | 2014-02-22 09:25:41 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2014-02-24 05:32:05 -0800 |
commit | 0d8265c8af1b8ba11ed0818e81276239c47e11db (patch) | |
tree | 12bfdfa8f51992f40b070a2cc433bdc75c0c8180 | |
parent | f3e44dd64ca7b7e4640d816e389faa583c7b4fec (diff) | |
download | libgit2-0d8265c8af1b8ba11ed0818e81276239c47e11db.tar.gz |
Staticize file-local variables
-rw-r--r-- | tests/blame/buffer.c | 4 | ||||
-rw-r--r-- | 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) |