From cfd16ca28e593d084350b497b06eac7cb7a6c240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 13 Nov 2013 13:08:56 +0100 Subject: tests: make a few globals statics ld was warning that the size of path changed, rightly so. --- tests-clar/network/urlparse.c | 4 ++-- tests-clar/repo/config.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests-clar/network/urlparse.c b/tests-clar/network/urlparse.c index 31616275a..2a9c2f69f 100644 --- a/tests-clar/network/urlparse.c +++ b/tests-clar/network/urlparse.c @@ -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) { diff --git a/tests-clar/repo/config.c b/tests-clar/repo/config.c index 11abd42bc..e77acc8c5 100644 --- a/tests-clar/repo/config.c +++ b/tests-clar/repo/config.c @@ -2,7 +2,7 @@ #include "fileops.h" #include -git_buf path = GIT_BUF_INIT; +static git_buf path = GIT_BUF_INIT; void test_repo_config__initialize(void) { -- cgit v1.2.1