From 03df12147a1a40e47cd592d234fdd07688902f10 Mon Sep 17 00:00:00 2001 From: chris_kohlhoff Date: Mon, 21 Apr 2008 13:35:40 +0000 Subject: [PATCH] Remove unused parameter names. --- asio/src/tests/unit/basic_datagram_socket.cpp | 2 +- asio/src/tests/unit/basic_deadline_timer.cpp | 2 +- asio/src/tests/unit/basic_socket_acceptor.cpp | 2 +- asio/src/tests/unit/basic_stream_socket.cpp | 2 +- asio/src/tests/unit/buffer.cpp | 2 +- asio/src/tests/unit/buffered_read_stream.cpp | 2 +- asio/src/tests/unit/buffered_stream.cpp | 2 +- asio/src/tests/unit/buffered_write_stream.cpp | 2 +- asio/src/tests/unit/completion_condition.cpp | 2 +- asio/src/tests/unit/datagram_socket_service.cpp | 2 +- asio/src/tests/unit/deadline_timer.cpp | 2 +- asio/src/tests/unit/deadline_timer_service.cpp | 2 +- asio/src/tests/unit/error.cpp | 2 +- asio/src/tests/unit/io_service.cpp | 2 +- asio/src/tests/unit/ip/address.cpp | 2 +- asio/src/tests/unit/ip/address_v4.cpp | 2 +- asio/src/tests/unit/ip/address_v6.cpp | 2 +- asio/src/tests/unit/ip/basic_endpoint.cpp | 2 +- asio/src/tests/unit/ip/basic_resolver.cpp | 2 +- asio/src/tests/unit/ip/basic_resolver_entry.cpp | 2 +- asio/src/tests/unit/ip/basic_resolver_iterator.cpp | 2 +- asio/src/tests/unit/ip/basic_resolver_query.cpp | 2 +- asio/src/tests/unit/ip/host_name.cpp | 2 +- asio/src/tests/unit/ip/multicast.cpp | 2 +- asio/src/tests/unit/ip/resolver_query_base.cpp | 2 +- asio/src/tests/unit/ip/resolver_service.cpp | 2 +- asio/src/tests/unit/ip/tcp.cpp | 2 +- asio/src/tests/unit/ip/udp.cpp | 2 +- asio/src/tests/unit/ip/unicast.cpp | 2 +- asio/src/tests/unit/ip/v6_only.cpp | 2 +- asio/src/tests/unit/is_read_buffered.cpp | 2 +- asio/src/tests/unit/is_write_buffered.cpp | 2 +- asio/src/tests/unit/local/basic_endpoint.cpp | 2 +- asio/src/tests/unit/local/connect_pair.cpp | 2 +- asio/src/tests/unit/local/datagram_protocol.cpp | 2 +- asio/src/tests/unit/local/stream_protocol.cpp | 2 +- asio/src/tests/unit/placeholders.cpp | 2 +- asio/src/tests/unit/posix/basic_descriptor.cpp | 2 +- asio/src/tests/unit/posix/basic_stream_descriptor.cpp | 2 +- asio/src/tests/unit/posix/descriptor_base.cpp | 2 +- asio/src/tests/unit/posix/stream_descriptor.cpp | 2 +- asio/src/tests/unit/posix/stream_descriptor_service.cpp | 2 +- asio/src/tests/unit/read.cpp | 2 +- asio/src/tests/unit/read_until.cpp | 2 +- asio/src/tests/unit/socket_acceptor_service.cpp | 2 +- asio/src/tests/unit/socket_base.cpp | 2 +- asio/src/tests/unit/ssl/basic_context.cpp | 2 +- asio/src/tests/unit/ssl/context.cpp | 2 +- asio/src/tests/unit/ssl/context_base.cpp | 2 +- asio/src/tests/unit/ssl/context_service.cpp | 2 +- asio/src/tests/unit/ssl/stream.cpp | 2 +- asio/src/tests/unit/ssl/stream_base.cpp | 2 +- asio/src/tests/unit/ssl/stream_service.cpp | 2 +- asio/src/tests/unit/strand.cpp | 2 +- asio/src/tests/unit/stream_socket_service.cpp | 2 +- asio/src/tests/unit/thread.cpp | 2 +- asio/src/tests/unit/time_traits.cpp | 2 +- asio/src/tests/unit/windows/basic_handle.cpp | 2 +- asio/src/tests/unit/windows/basic_stream_handle.cpp | 2 +- asio/src/tests/unit/windows/stream_handle.cpp | 2 +- asio/src/tests/unit/windows/stream_handle_service.cpp | 2 +- asio/src/tests/unit/write.cpp | 2 +- 62 files changed, 62 insertions(+), 62 deletions(-) diff --git a/asio/src/tests/unit/basic_datagram_socket.cpp b/asio/src/tests/unit/basic_datagram_socket.cpp index f3e997a2..919a9ac8 100644 --- a/asio/src/tests/unit/basic_datagram_socket.cpp +++ b/asio/src/tests/unit/basic_datagram_socket.cpp @@ -18,7 +18,7 @@ #include "unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("basic_datagram_socket"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/basic_deadline_timer.cpp b/asio/src/tests/unit/basic_deadline_timer.cpp index 05b851fc..66d1f864 100644 --- a/asio/src/tests/unit/basic_deadline_timer.cpp +++ b/asio/src/tests/unit/basic_deadline_timer.cpp @@ -18,7 +18,7 @@ #include "unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("basic_deadline_timer"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/basic_socket_acceptor.cpp b/asio/src/tests/unit/basic_socket_acceptor.cpp index b41736f9..ba3dc86f 100644 --- a/asio/src/tests/unit/basic_socket_acceptor.cpp +++ b/asio/src/tests/unit/basic_socket_acceptor.cpp @@ -18,7 +18,7 @@ #include "unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("basic_socket_acceptor"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/basic_stream_socket.cpp b/asio/src/tests/unit/basic_stream_socket.cpp index f682e2fa..62a18a80 100644 --- a/asio/src/tests/unit/basic_stream_socket.cpp +++ b/asio/src/tests/unit/basic_stream_socket.cpp @@ -18,7 +18,7 @@ #include "unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("basic_stream_socket"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/buffer.cpp b/asio/src/tests/unit/buffer.cpp index 9c4ae819..a998c112 100644 --- a/asio/src/tests/unit/buffer.cpp +++ b/asio/src/tests/unit/buffer.cpp @@ -139,7 +139,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("buffer"); test->add(BOOST_TEST_CASE(&buffer_compile::test)); diff --git a/asio/src/tests/unit/buffered_read_stream.cpp b/asio/src/tests/unit/buffered_read_stream.cpp index d9b706cc..c2a0b031 100644 --- a/asio/src/tests/unit/buffered_read_stream.cpp +++ b/asio/src/tests/unit/buffered_read_stream.cpp @@ -209,7 +209,7 @@ void test_async_operations() client_socket.async_read_some(asio::buffer(read_buf), handle_read_eof); } -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("buffered_read_stream"); test->add(BOOST_TEST_CASE(&test_sync_operations)); diff --git a/asio/src/tests/unit/buffered_stream.cpp b/asio/src/tests/unit/buffered_stream.cpp index 4f2e633a..970299f9 100644 --- a/asio/src/tests/unit/buffered_stream.cpp +++ b/asio/src/tests/unit/buffered_stream.cpp @@ -224,7 +224,7 @@ void test_async_operations() client_socket.async_read_some(asio::buffer(read_buf), handle_read_eof); } -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("buffered_stream"); test->add(BOOST_TEST_CASE(&test_sync_operations)); diff --git a/asio/src/tests/unit/buffered_write_stream.cpp b/asio/src/tests/unit/buffered_write_stream.cpp index 1a2b19ad..d530b958 100644 --- a/asio/src/tests/unit/buffered_write_stream.cpp +++ b/asio/src/tests/unit/buffered_write_stream.cpp @@ -224,7 +224,7 @@ void test_async_operations() client_socket.async_read_some(asio::buffer(read_buf), handle_read_eof); } -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("buffered_write_stream"); test->add(BOOST_TEST_CASE(&test_sync_operations)); diff --git a/asio/src/tests/unit/completion_condition.cpp b/asio/src/tests/unit/completion_condition.cpp index ef0a02dc..e78b22cd 100644 --- a/asio/src/tests/unit/completion_condition.cpp +++ b/asio/src/tests/unit/completion_condition.cpp @@ -18,7 +18,7 @@ #include "unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("completion_condition"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/datagram_socket_service.cpp b/asio/src/tests/unit/datagram_socket_service.cpp index ca46cd39..63112e0f 100644 --- a/asio/src/tests/unit/datagram_socket_service.cpp +++ b/asio/src/tests/unit/datagram_socket_service.cpp @@ -18,7 +18,7 @@ #include "unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("datagram_socket_service"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/deadline_timer.cpp b/asio/src/tests/unit/deadline_timer.cpp index 231b41a8..23811ef1 100644 --- a/asio/src/tests/unit/deadline_timer.cpp +++ b/asio/src/tests/unit/deadline_timer.cpp @@ -179,7 +179,7 @@ void deadline_timer_test() BOOST_CHECK(expected_end < end || expected_end == end); } -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("deadline_timer"); test->add(BOOST_TEST_CASE(&deadline_timer_test)); diff --git a/asio/src/tests/unit/deadline_timer_service.cpp b/asio/src/tests/unit/deadline_timer_service.cpp index 868293c2..6d7de3cf 100644 --- a/asio/src/tests/unit/deadline_timer_service.cpp +++ b/asio/src/tests/unit/deadline_timer_service.cpp @@ -18,7 +18,7 @@ #include "unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("deadline_timer_service"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/error.cpp b/asio/src/tests/unit/error.cpp index 3f4373ea..ce1edfe5 100644 --- a/asio/src/tests/unit/error.cpp +++ b/asio/src/tests/unit/error.cpp @@ -82,7 +82,7 @@ void error_test() test_error_code(asio::error::would_block); } -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("error"); test->add(BOOST_TEST_CASE(&error_test)); diff --git a/asio/src/tests/unit/io_service.cpp b/asio/src/tests/unit/io_service.cpp index dd1f8df6..2a6a3c92 100644 --- a/asio/src/tests/unit/io_service.cpp +++ b/asio/src/tests/unit/io_service.cpp @@ -233,7 +233,7 @@ void io_service_test() BOOST_CHECK(exception_count == 2); } -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("io_service"); test->add(BOOST_TEST_CASE(&io_service_test)); diff --git a/asio/src/tests/unit/ip/address.cpp b/asio/src/tests/unit/ip/address.cpp index ad84af86..a06d2abd 100644 --- a/asio/src/tests/unit/ip/address.cpp +++ b/asio/src/tests/unit/ip/address.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/address"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ip/address_v4.cpp b/asio/src/tests/unit/ip/address_v4.cpp index 001a3a57..726e2a7b 100644 --- a/asio/src/tests/unit/ip/address_v4.cpp +++ b/asio/src/tests/unit/ip/address_v4.cpp @@ -124,7 +124,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/address_v4"); test->add(BOOST_TEST_CASE(&ip_address_v4_compile::test)); diff --git a/asio/src/tests/unit/ip/address_v6.cpp b/asio/src/tests/unit/ip/address_v6.cpp index 6c6afabd..4c9750ec 100644 --- a/asio/src/tests/unit/ip/address_v6.cpp +++ b/asio/src/tests/unit/ip/address_v6.cpp @@ -145,7 +145,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/address_v6"); test->add(BOOST_TEST_CASE(&ip_address_v6_compile::test)); diff --git a/asio/src/tests/unit/ip/basic_endpoint.cpp b/asio/src/tests/unit/ip/basic_endpoint.cpp index 85e7a77c..d788f539 100644 --- a/asio/src/tests/unit/ip/basic_endpoint.cpp +++ b/asio/src/tests/unit/ip/basic_endpoint.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/basic_endpoint"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ip/basic_resolver.cpp b/asio/src/tests/unit/ip/basic_resolver.cpp index 68993056..a4753036 100644 --- a/asio/src/tests/unit/ip/basic_resolver.cpp +++ b/asio/src/tests/unit/ip/basic_resolver.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/basic_resolver"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ip/basic_resolver_entry.cpp b/asio/src/tests/unit/ip/basic_resolver_entry.cpp index 2acd0746..dcab785c 100644 --- a/asio/src/tests/unit/ip/basic_resolver_entry.cpp +++ b/asio/src/tests/unit/ip/basic_resolver_entry.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/basic_resolver_entry"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ip/basic_resolver_iterator.cpp b/asio/src/tests/unit/ip/basic_resolver_iterator.cpp index 6532dc39..54e62da0 100644 --- a/asio/src/tests/unit/ip/basic_resolver_iterator.cpp +++ b/asio/src/tests/unit/ip/basic_resolver_iterator.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/basic_resolver_iterator"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ip/basic_resolver_query.cpp b/asio/src/tests/unit/ip/basic_resolver_query.cpp index 30b86323..3507d6bc 100644 --- a/asio/src/tests/unit/ip/basic_resolver_query.cpp +++ b/asio/src/tests/unit/ip/basic_resolver_query.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/basic_resolver_query"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ip/host_name.cpp b/asio/src/tests/unit/ip/host_name.cpp index 4b8dc921..2c89e5cb 100644 --- a/asio/src/tests/unit/ip/host_name.cpp +++ b/asio/src/tests/unit/ip/host_name.cpp @@ -49,7 +49,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/host_name"); test->add(BOOST_TEST_CASE(&ip_host_name_compile::test)); diff --git a/asio/src/tests/unit/ip/multicast.cpp b/asio/src/tests/unit/ip/multicast.cpp index 16556ab6..c3d5f030 100644 --- a/asio/src/tests/unit/ip/multicast.cpp +++ b/asio/src/tests/unit/ip/multicast.cpp @@ -340,7 +340,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/multicast"); test->add(BOOST_TEST_CASE(&ip_multicast_compile::test)); diff --git a/asio/src/tests/unit/ip/resolver_query_base.cpp b/asio/src/tests/unit/ip/resolver_query_base.cpp index 4862628a..1cdda18f 100644 --- a/asio/src/tests/unit/ip/resolver_query_base.cpp +++ b/asio/src/tests/unit/ip/resolver_query_base.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/resolver_query_base"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ip/resolver_service.cpp b/asio/src/tests/unit/ip/resolver_service.cpp index 302c048f..a9998fce 100644 --- a/asio/src/tests/unit/ip/resolver_service.cpp +++ b/asio/src/tests/unit/ip/resolver_service.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/resolver_service"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ip/tcp.cpp b/asio/src/tests/unit/ip/tcp.cpp index c7db8728..89628942 100644 --- a/asio/src/tests/unit/ip/tcp.cpp +++ b/asio/src/tests/unit/ip/tcp.cpp @@ -371,7 +371,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/tcp"); test->add(BOOST_TEST_CASE(&ip_tcp_compile::test)); diff --git a/asio/src/tests/unit/ip/udp.cpp b/asio/src/tests/unit/ip/udp.cpp index 8c59df13..f2a8d32e 100644 --- a/asio/src/tests/unit/ip/udp.cpp +++ b/asio/src/tests/unit/ip/udp.cpp @@ -325,7 +325,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/udp"); test->add(BOOST_TEST_CASE(&ip_udp_socket_compile::test)); diff --git a/asio/src/tests/unit/ip/unicast.cpp b/asio/src/tests/unit/ip/unicast.cpp index f9cd5830..3a130f4d 100644 --- a/asio/src/tests/unit/ip/unicast.cpp +++ b/asio/src/tests/unit/ip/unicast.cpp @@ -162,7 +162,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/unicast"); test->add(BOOST_TEST_CASE(&ip_unicast_compile::test)); diff --git a/asio/src/tests/unit/ip/v6_only.cpp b/asio/src/tests/unit/ip/v6_only.cpp index d88b0e3a..026979ba 100644 --- a/asio/src/tests/unit/ip/v6_only.cpp +++ b/asio/src/tests/unit/ip/v6_only.cpp @@ -125,7 +125,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ip/v6_only"); test->add(BOOST_TEST_CASE(&ip_v6_only_compile::test)); diff --git a/asio/src/tests/unit/is_read_buffered.cpp b/asio/src/tests/unit/is_read_buffered.cpp index fd0fc4a8..4e0317b1 100644 --- a/asio/src/tests/unit/is_read_buffered.cpp +++ b/asio/src/tests/unit/is_read_buffered.cpp @@ -118,7 +118,7 @@ void is_read_buffered_test() asio::buffered_stream >::value); } -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("is_read_buffered"); test->add(BOOST_TEST_CASE(&is_read_buffered_test)); diff --git a/asio/src/tests/unit/is_write_buffered.cpp b/asio/src/tests/unit/is_write_buffered.cpp index 3df7e2c0..7df5b913 100644 --- a/asio/src/tests/unit/is_write_buffered.cpp +++ b/asio/src/tests/unit/is_write_buffered.cpp @@ -118,7 +118,7 @@ void is_write_buffered_test() asio::buffered_stream >::value); } -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("is_write_buffered"); test->add(BOOST_TEST_CASE(&is_write_buffered_test)); diff --git a/asio/src/tests/unit/local/basic_endpoint.cpp b/asio/src/tests/unit/local/basic_endpoint.cpp index 5df1a4e1..7666db14 100644 --- a/asio/src/tests/unit/local/basic_endpoint.cpp +++ b/asio/src/tests/unit/local/basic_endpoint.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("local/basic_endpoint"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/local/connect_pair.cpp b/asio/src/tests/unit/local/connect_pair.cpp index 30078135..699f119a 100644 --- a/asio/src/tests/unit/local/connect_pair.cpp +++ b/asio/src/tests/unit/local/connect_pair.cpp @@ -68,7 +68,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("local/connect_pair"); test->add(BOOST_TEST_CASE(&local_connect_pair_compile::test)); diff --git a/asio/src/tests/unit/local/datagram_protocol.cpp b/asio/src/tests/unit/local/datagram_protocol.cpp index 6b89806e..d595efcc 100644 --- a/asio/src/tests/unit/local/datagram_protocol.cpp +++ b/asio/src/tests/unit/local/datagram_protocol.cpp @@ -225,7 +225,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("local/datagram_protocol"); test->add(BOOST_TEST_CASE(&local_datagram_protocol_socket_compile::test)); diff --git a/asio/src/tests/unit/local/stream_protocol.cpp b/asio/src/tests/unit/local/stream_protocol.cpp index 25644462..d6b41ba2 100644 --- a/asio/src/tests/unit/local/stream_protocol.cpp +++ b/asio/src/tests/unit/local/stream_protocol.cpp @@ -202,7 +202,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("local/stream_protocol"); test->add(BOOST_TEST_CASE(&local_stream_protocol_socket_compile::test)); diff --git a/asio/src/tests/unit/placeholders.cpp b/asio/src/tests/unit/placeholders.cpp index f4cb8a38..672fdfa0 100644 --- a/asio/src/tests/unit/placeholders.cpp +++ b/asio/src/tests/unit/placeholders.cpp @@ -18,7 +18,7 @@ #include "unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("placeholders"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/posix/basic_descriptor.cpp b/asio/src/tests/unit/posix/basic_descriptor.cpp index ba680cf1..2d209b58 100644 --- a/asio/src/tests/unit/posix/basic_descriptor.cpp +++ b/asio/src/tests/unit/posix/basic_descriptor.cpp @@ -19,7 +19,7 @@ #include "asio.hpp" #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("posix/basic_descriptor"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/posix/basic_stream_descriptor.cpp b/asio/src/tests/unit/posix/basic_stream_descriptor.cpp index 7daad712..94a44fd0 100644 --- a/asio/src/tests/unit/posix/basic_stream_descriptor.cpp +++ b/asio/src/tests/unit/posix/basic_stream_descriptor.cpp @@ -19,7 +19,7 @@ #include "asio.hpp" #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("posix/basic_stream_descriptor"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/posix/descriptor_base.cpp b/asio/src/tests/unit/posix/descriptor_base.cpp index 0187e904..1fbec761 100644 --- a/asio/src/tests/unit/posix/descriptor_base.cpp +++ b/asio/src/tests/unit/posix/descriptor_base.cpp @@ -19,7 +19,7 @@ #include "asio.hpp" #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("posix/descriptor_base"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/posix/stream_descriptor.cpp b/asio/src/tests/unit/posix/stream_descriptor.cpp index 9f37bd97..592a1692 100644 --- a/asio/src/tests/unit/posix/stream_descriptor.cpp +++ b/asio/src/tests/unit/posix/stream_descriptor.cpp @@ -119,7 +119,7 @@ void test() } // namespace posix_stream_descriptor_compile //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("posix/stream_descriptor"); test->add(BOOST_TEST_CASE(&posix_stream_descriptor_compile::test)); diff --git a/asio/src/tests/unit/posix/stream_descriptor_service.cpp b/asio/src/tests/unit/posix/stream_descriptor_service.cpp index 0a6dd526..c059dbc5 100644 --- a/asio/src/tests/unit/posix/stream_descriptor_service.cpp +++ b/asio/src/tests/unit/posix/stream_descriptor_service.cpp @@ -19,7 +19,7 @@ #include "asio.hpp" #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("posix/stream_descriptor_service"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/read.cpp b/asio/src/tests/unit/read.cpp index 25983c2d..6e4abfe2 100644 --- a/asio/src/tests/unit/read.cpp +++ b/asio/src/tests/unit/read.cpp @@ -619,7 +619,7 @@ void test_4_arg_async_read() BOOST_CHECK(s.check(buffers, 50)); } -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("read"); test->add(BOOST_TEST_CASE(&test_2_arg_read)); diff --git a/asio/src/tests/unit/read_until.cpp b/asio/src/tests/unit/read_until.cpp index 0f04b717..4c738070 100644 --- a/asio/src/tests/unit/read_until.cpp +++ b/asio/src/tests/unit/read_until.cpp @@ -421,7 +421,7 @@ void test_string_async_read_until() BOOST_CHECK(length == 0); } -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("read_until"); test->add(BOOST_TEST_CASE(&test_char_read_until)); diff --git a/asio/src/tests/unit/socket_acceptor_service.cpp b/asio/src/tests/unit/socket_acceptor_service.cpp index 81575cd9..62ae1f06 100644 --- a/asio/src/tests/unit/socket_acceptor_service.cpp +++ b/asio/src/tests/unit/socket_acceptor_service.cpp @@ -18,7 +18,7 @@ #include "unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("socket_acceptor_service"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/socket_base.cpp b/asio/src/tests/unit/socket_base.cpp index e3d71470..366102d8 100644 --- a/asio/src/tests/unit/socket_base.cpp +++ b/asio/src/tests/unit/socket_base.cpp @@ -644,7 +644,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("socket_base"); test->add(BOOST_TEST_CASE(&socket_base_compile::test)); diff --git a/asio/src/tests/unit/ssl/basic_context.cpp b/asio/src/tests/unit/ssl/basic_context.cpp index 43f7c8e4..14288d3a 100644 --- a/asio/src/tests/unit/ssl/basic_context.cpp +++ b/asio/src/tests/unit/ssl/basic_context.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ssl/basic_context"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ssl/context.cpp b/asio/src/tests/unit/ssl/context.cpp index a3f1e59f..9649df3e 100644 --- a/asio/src/tests/unit/ssl/context.cpp +++ b/asio/src/tests/unit/ssl/context.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ssl/context"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ssl/context_base.cpp b/asio/src/tests/unit/ssl/context_base.cpp index da96f364..e47e708f 100644 --- a/asio/src/tests/unit/ssl/context_base.cpp +++ b/asio/src/tests/unit/ssl/context_base.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ssl/context_base"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ssl/context_service.cpp b/asio/src/tests/unit/ssl/context_service.cpp index 98697641..8281e8a3 100644 --- a/asio/src/tests/unit/ssl/context_service.cpp +++ b/asio/src/tests/unit/ssl/context_service.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ssl/context_service"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ssl/stream.cpp b/asio/src/tests/unit/ssl/stream.cpp index 18eb8ceb..3ce0dac4 100644 --- a/asio/src/tests/unit/ssl/stream.cpp +++ b/asio/src/tests/unit/ssl/stream.cpp @@ -118,7 +118,7 @@ void test() //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ssl/stream"); test->add(BOOST_TEST_CASE(&ssl_stream_compile::test)); diff --git a/asio/src/tests/unit/ssl/stream_base.cpp b/asio/src/tests/unit/ssl/stream_base.cpp index ef9cb1d1..57c1a9a4 100644 --- a/asio/src/tests/unit/ssl/stream_base.cpp +++ b/asio/src/tests/unit/ssl/stream_base.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ssl/stream_base"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/ssl/stream_service.cpp b/asio/src/tests/unit/ssl/stream_service.cpp index 09d90c51..67935518 100644 --- a/asio/src/tests/unit/ssl/stream_service.cpp +++ b/asio/src/tests/unit/ssl/stream_service.cpp @@ -18,7 +18,7 @@ #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("ssl/stream_service"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/strand.cpp b/asio/src/tests/unit/strand.cpp index 6d043f05..4e946365 100644 --- a/asio/src/tests/unit/strand.cpp +++ b/asio/src/tests/unit/strand.cpp @@ -162,7 +162,7 @@ void strand_test() BOOST_CHECK(exception_count == 2); } -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("strand"); test->add(BOOST_TEST_CASE(&strand_test)); diff --git a/asio/src/tests/unit/stream_socket_service.cpp b/asio/src/tests/unit/stream_socket_service.cpp index 7293bdee..73b86988 100644 --- a/asio/src/tests/unit/stream_socket_service.cpp +++ b/asio/src/tests/unit/stream_socket_service.cpp @@ -18,7 +18,7 @@ #include "unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("stream_socket_service"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/thread.cpp b/asio/src/tests/unit/thread.cpp index e127e90f..cccbccc7 100644 --- a/asio/src/tests/unit/thread.cpp +++ b/asio/src/tests/unit/thread.cpp @@ -18,7 +18,7 @@ #include "unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("thread"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/time_traits.cpp b/asio/src/tests/unit/time_traits.cpp index 7af8d52a..e37eba40 100644 --- a/asio/src/tests/unit/time_traits.cpp +++ b/asio/src/tests/unit/time_traits.cpp @@ -18,7 +18,7 @@ #include "unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("time_traits"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/windows/basic_handle.cpp b/asio/src/tests/unit/windows/basic_handle.cpp index 1d7d7d69..3e7b6913 100644 --- a/asio/src/tests/unit/windows/basic_handle.cpp +++ b/asio/src/tests/unit/windows/basic_handle.cpp @@ -19,7 +19,7 @@ #include "asio.hpp" #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("windows/basic_handle"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/windows/basic_stream_handle.cpp b/asio/src/tests/unit/windows/basic_stream_handle.cpp index d1cf71f9..e6b5137b 100644 --- a/asio/src/tests/unit/windows/basic_stream_handle.cpp +++ b/asio/src/tests/unit/windows/basic_stream_handle.cpp @@ -19,7 +19,7 @@ #include "asio.hpp" #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("windows/basic_stream_handle"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/windows/stream_handle.cpp b/asio/src/tests/unit/windows/stream_handle.cpp index 32ed04c1..f664b7c4 100644 --- a/asio/src/tests/unit/windows/stream_handle.cpp +++ b/asio/src/tests/unit/windows/stream_handle.cpp @@ -106,7 +106,7 @@ void test() } // namespace windows_stream_handle_compile //------------------------------------------------------------------------------ -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("windows/stream_handle"); test->add(BOOST_TEST_CASE(&windows_stream_handle_compile::test)); diff --git a/asio/src/tests/unit/windows/stream_handle_service.cpp b/asio/src/tests/unit/windows/stream_handle_service.cpp index 30ed445c..c37118b6 100644 --- a/asio/src/tests/unit/windows/stream_handle_service.cpp +++ b/asio/src/tests/unit/windows/stream_handle_service.cpp @@ -19,7 +19,7 @@ #include "asio.hpp" #include "../unit_test.hpp" -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("windows/stream_handle_service"); test->add(BOOST_TEST_CASE(&null_test)); diff --git a/asio/src/tests/unit/write.cpp b/asio/src/tests/unit/write.cpp index fb3914e3..8a683bbd 100644 --- a/asio/src/tests/unit/write.cpp +++ b/asio/src/tests/unit/write.cpp @@ -573,7 +573,7 @@ void test_4_arg_async_write() BOOST_CHECK(s.check(buffers, 50)); } -test_suite* init_unit_test_suite(int argc, char* argv[]) +test_suite* init_unit_test_suite(int, char*[]) { test_suite* test = BOOST_TEST_SUITE("write"); test->add(BOOST_TEST_CASE(&test_2_arg_write));