Commit cfd16ca2 by Carlos Martín Nieto

tests: make a few globals statics

ld was warning that the size of path changed, rightly so.
parent 6481e062
#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)
{
......
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment