Staticize file-local variables

This commit is contained in:
Ben Straub 2014-02-22 09:25:41 -08:00
parent f3e44dd64c
commit 0d8265c8af
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#include "blame_helpers.h" #include "blame_helpers.h"
git_repository *g_repo; static git_repository *g_repo;
git_blame *g_fileblame, *g_bufferblame; static git_blame *g_fileblame, *g_bufferblame;
void test_blame_buffer__initialize(void) void test_blame_buffer__initialize(void)
{ {

View File

@ -3,7 +3,7 @@
#include "posix.h" #include "posix.h"
#include "fileops.h" #include "fileops.h"
git_repository *g_repo = NULL; static git_repository *g_repo = NULL;
#define TEST_DIR "addall" #define TEST_DIR "addall"
void test_index_addall__initialize(void) void test_index_addall__initialize(void)