Skip to content

Commit

Permalink
Staticize file-local variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ben committed Feb 24, 2014
1 parent f3e44dd commit 0d8265c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/blame/buffer.c
Original file line number Diff line number Diff line change
@@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/index/addall.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0d8265c

Please sign in to comment.