summaryrefslogtreecommitdiff
path: root/tests/remote/httpproxy.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-11 13:28:08 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2021-11-11 17:31:43 -0500
commitca14942e19788bd01334af64554c3095f3ff0d4a (patch)
tree9a05a7224d87e45b3ba2ac88501c66e4f0149ab9 /tests/remote/httpproxy.c
parent3f024b6d5439eda83d8bebc197db062c4d6bdfeb (diff)
downloadlibgit2-ca14942e19788bd01334af64554c3095f3ff0d4a.tar.gz
tests: declare functions statically where appropriate
Diffstat (limited to 'tests/remote/httpproxy.c')
-rw-r--r--tests/remote/httpproxy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/remote/httpproxy.c b/tests/remote/httpproxy.c
index 8cd4371f5..f62a2545b 100644
--- a/tests/remote/httpproxy.c
+++ b/tests/remote/httpproxy.c
@@ -40,7 +40,7 @@ void test_remote_httpproxy__cleanup(void)
cl_git_sandbox_cleanup();
}
-void assert_proxy_is(const char *expected)
+static void assert_proxy_is(const char *expected)
{
git_remote *remote;
char *proxy;
@@ -57,7 +57,7 @@ void assert_proxy_is(const char *expected)
git__free(proxy);
}
-void assert_config_match(const char *config, const char *expected)
+static void assert_config_match(const char *config, const char *expected)
{
git_remote *remote;
char *proxy;
@@ -106,7 +106,7 @@ void test_remote_httpproxy__config_empty_overrides(void)
assert_config_match("remote.lg2.proxy", "");
}
-void assert_global_config_match(const char *config, const char *expected)
+static void assert_global_config_match(const char *config, const char *expected)
{
git_remote *remote;
char *proxy;