Author: astieger Date: Wed Dec 9 20:17:25 2015 New Revision: 1718956 URL: http://svn.apache.org/viewvc?rev=1718956&view=rev Log: 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 Modified: serf/trunk/test/mock_buckets.c serf/trunk/test/test_server.c Modified: serf/trunk/test/mock_buckets.c URL: http://svn.apache.org/viewvc/serf/trunk/test/mock_buckets.c?rev=1718956&r1=1718955&r2=1718956&view=diff ============================================================================== --- serf/trunk/test/mock_buckets.c (original) +++ serf/trunk/test/mock_buckets.c Wed Dec 9 20:17:25 2015 @@ -189,7 +189,7 @@ apr_status_t serf_bucket_mock_more_data_ 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); Modified: serf/trunk/test/test_server.c URL: http://svn.apache.org/viewvc/serf/trunk/test/test_server.c?rev=1718956&r1=1718955&r2=1718956&view=diff ============================================================================== --- serf/trunk/test/test_server.c (original) +++ serf/trunk/test/test_server.c Wed Dec 9 20:17:25 2015 @@ -280,7 +280,7 @@ static apr_status_t authn_callback(char } -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 @@ void test_listen_auth_http(CuTest *tc) 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;