Fix warnings on missing prototypes in test code
* test/mock_buckets.c
(serf_mock_destroy): make static function
* test/test_server.c
(test_listen_auth_http,test_listen_auth_http2): make
static function
git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1718956 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/mock_buckets.c b/test/mock_buckets.c
index 1d9ab91..2d84f25 100644
--- a/test/mock_buckets.c
+++ b/test/mock_buckets.c
@@ -189,7 +189,7 @@
return APR_SUCCESS;
}
-void serf_mock_destroy(serf_bucket_t *bucket)
+static void serf_mock_destroy(serf_bucket_t *bucket)
{
#ifndef SERF_DEBUG_BUCKET_USE
serf_default_destroy_and_data(bucket);
diff --git a/test/test_server.c b/test/test_server.c
index 04e4a3a..06eb0a3 100644
--- a/test/test_server.c
+++ b/test/test_server.c
@@ -280,7 +280,7 @@
}
-void test_listen_auth_http(CuTest *tc)
+static void test_listen_auth_http(CuTest *tc)
{
test_baton_t *tb = tc->testBaton;
apr_status_t status;
@@ -307,7 +307,7 @@
CuAssertIntEquals(tc, APR_SUCCESS, status);
}
-void test_listen_auth_http2(CuTest *tc)
+static void test_listen_auth_http2(CuTest *tc)
{
test_baton_t *tb = tc->testBaton;
apr_status_t status;