diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 13:28:08 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 17:31:43 -0500 |
| commit | ca14942e19788bd01334af64554c3095f3ff0d4a (patch) | |
| tree | 9a05a7224d87e45b3ba2ac88501c66e4f0149ab9 /tests/remote/httpproxy.c | |
| parent | 3f024b6d5439eda83d8bebc197db062c4d6bdfeb (diff) | |
| download | libgit2-ca14942e19788bd01334af64554c3095f3ff0d4a.tar.gz | |
tests: declare functions statically where appropriate
Diffstat (limited to 'tests/remote/httpproxy.c')
| -rw-r--r-- | tests/remote/httpproxy.c | 6 |
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; |
