tests: make a few globals statics

ld was warning that the size of path changed, rightly so.
This commit is contained in:
Carlos Martín Nieto 2013-11-13 13:08:56 +01:00
parent 6481e06258
commit cfd16ca28e
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
#include "clar_libgit2.h"
#include "netops.h"
char *host, *port, *path, *user, *pass;
gitno_connection_data conndata;
static char *host, *port, *path, *user, *pass;
static gitno_connection_data conndata;
void test_network_urlparse__initialize(void)
{

View File

@ -2,7 +2,7 @@
#include "fileops.h"
#include <ctype.h>
git_buf path = GIT_BUF_INIT;
static git_buf path = GIT_BUF_INIT;
void test_repo_config__initialize(void)
{