diff options
Diffstat (limited to 'examples/Service_Configurator/IPC-tests/client')
10 files changed, 15 insertions, 15 deletions
diff --git a/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp index aeba5fbc4da..7cb5b719a1b 100644 --- a/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp @@ -42,7 +42,7 @@ parse_args (int argc, ACE_TCHAR *argv[]) } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { program_name = argv[0]; parse_args (argc, argv); diff --git a/examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp index d36e916ec1f..39a49656914 100644 --- a/examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp @@ -53,7 +53,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { program_name = argv[0]; @@ -113,7 +113,7 @@ main (int argc, ACE_TCHAR *argv[]) return 0; } #else -int main (int, ACE_TCHAR *[]) +int ACE_TMAIN (int, ACE_TCHAR *[]) { ACE_ERROR_RETURN ((LM_ERROR, "your platform must support sendmsg/recvmsg to run this test\n"), diff --git a/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp index 2c6fdc7818e..51b566c24e9 100644 --- a/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp @@ -61,7 +61,7 @@ parse_arguments (int argc, ACE_TCHAR *argv[]) } int -main(int argc, ACE_TCHAR *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { parse_arguments (argc, argv); diff --git a/examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp index 93216dca095..ca77c0b5faa 100644 --- a/examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp @@ -108,7 +108,7 @@ do_client_processing (ACE_LSOCK_Stream &sc) } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { parse_args (argc, argv); @@ -137,7 +137,7 @@ main (int argc, ACE_TCHAR *argv[]) return 0; } #else -int main (int, ACE_TCHAR *[]) +int ACE_TMAIN (int, ACE_TCHAR *[]) { ACE_ERROR_RETURN ((LM_ERROR, "your platform must support sendmsg/recvmsg to run this test\n"), diff --git a/examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp index 706a857b3a9..a565c8b4f15 100644 --- a/examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp @@ -57,7 +57,7 @@ parse_arguments (int argc, char *argv[]) } int -main(int argc, ACE_TCHAR *argv[]) +ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { parse_arguments (argc, argv); @@ -95,7 +95,7 @@ main(int argc, ACE_TCHAR *argv[]) #else #include <stdio.h> int -main (int, ACE_TCHAR *[]) +ACE_TMAIN (int, ACE_TCHAR *[]) { ACE_ERROR_RETURN ((LM_ERROR, "This feature is not supported\n"), diff --git a/examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp index 350d3cdca4b..a010a28420d 100644 --- a/examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp @@ -49,7 +49,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { parse_args (argc, argv); @@ -100,7 +100,7 @@ main (int argc, ACE_TCHAR *argv[]) return 0; } #else -int main (int, ACE_TCHAR *[]) +int ACE_TMAIN (int, ACE_TCHAR *[]) { ACE_ERROR_RETURN ((LM_ERROR, "your platform must support sendmsg/recvmsg to run this test\n"), diff --git a/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp index 24ad5ac7f09..7640824a36e 100644 --- a/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp @@ -56,7 +56,7 @@ parse_args (int argc, ACE_TCHAR *argv[]) } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { parse_args (argc, argv); diff --git a/examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp index 18d1b23bff8..3c8bcdfab81 100644 --- a/examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp @@ -50,7 +50,7 @@ parse_args (int argc, ACE_TCHAR *argv[]) } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { ACE_LOG_MSG->open (argv[0]); diff --git a/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp index 6684d67bd2c..636223e2349 100644 --- a/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp @@ -57,7 +57,7 @@ parse_args (int argc, ACE_TCHAR *argv[]) } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { parse_args (argc, argv); ACE_INET_Addr sa (port_number, host_name); diff --git a/examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp index 3a5a91facdf..6c0c3fb9d1d 100644 --- a/examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp +++ b/examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp @@ -57,7 +57,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { parse_args (argc, argv); void *cp; @@ -111,7 +111,7 @@ main (int argc, ACE_TCHAR *argv[]) } #else int -main (int, ACE_TCHAR *[]) +ACE_TMAIN (int, ACE_TCHAR *[]) { ACE_ERROR_RETURN ((LM_ERROR, "you must have TLI to run this test\n"), |