summaryrefslogtreecommitdiff
path: root/examples/Connection/blocking
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Connection/blocking')
-rw-r--r--examples/Connection/blocking/SPIPE-acceptor.cpp2
-rw-r--r--examples/Connection/blocking/SPIPE-connector.cpp2
-rw-r--r--examples/Connection/blocking/test_spipe_acceptor.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/Connection/blocking/SPIPE-acceptor.cpp b/examples/Connection/blocking/SPIPE-acceptor.cpp
index 8885b0353cd..85f8acc6156 100644
--- a/examples/Connection/blocking/SPIPE-acceptor.cpp
+++ b/examples/Connection/blocking/SPIPE-acceptor.cpp
@@ -123,7 +123,7 @@ IPC_Server::parse_args (int argc, ACE_TCHAR *argv[])
{
ACE_LOG_MSG->open (argv[0]);
- ACE_Get_Opt get_opt (argc, argv, ACE_TEXT ("ut:r:"));
+ ACE_Get_Arg_Opt<ACE_TCHAR> get_opt (argc, argv, ACE_TEXT ("ut:r:"));
for (int c; (c = get_opt ()) != -1; )
{
diff --git a/examples/Connection/blocking/SPIPE-connector.cpp b/examples/Connection/blocking/SPIPE-connector.cpp
index 6618b64f0cb..9b2ea043c77 100644
--- a/examples/Connection/blocking/SPIPE-connector.cpp
+++ b/examples/Connection/blocking/SPIPE-connector.cpp
@@ -187,7 +187,7 @@ IPC_Client::parse_args (int argc, ACE_TCHAR *argv[])
{
ACE_LOG_MSG->open (argv[0]);
- ACE_Get_Opt get_opt (argc, argv, ACE_TEXT ("ui:r:"));
+ ACE_Get_Arg_Opt<ACE_TCHAR> get_opt (argc, argv, ACE_TEXT ("ui:r:"));
for (int c; (c = get_opt ()) != -1; )
{
diff --git a/examples/Connection/blocking/test_spipe_acceptor.cpp b/examples/Connection/blocking/test_spipe_acceptor.cpp
index 549690ebf43..83003eb1c85 100644
--- a/examples/Connection/blocking/test_spipe_acceptor.cpp
+++ b/examples/Connection/blocking/test_spipe_acceptor.cpp
@@ -25,7 +25,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
#else
int
-main (int, char *[])
+ACE_TMAIN (int, ACE_TCHAR *[])
{
ACE_DEBUG ((LM_INFO,
ACE_TEXT ("Asynchronous IO is unsupported.\n")));