summaryrefslogtreecommitdiff
path: root/examples/Connection
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-25 21:42:00 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-25 21:42:00 +0000
commite42dcaa68a677c77f4e5353dfbe2d4699bbd5878 (patch)
tree20191ccf54e044fbd7044ca22667ec2578f3b884 /examples/Connection
parente291b625e1bf3fdc98b32e9d08b296d27b31d493 (diff)
downloadATCD-e42dcaa68a677c77f4e5353dfbe2d4699bbd5878.tar.gz
added args to declaration of main ()
Diffstat (limited to 'examples/Connection')
-rw-r--r--examples/Connection/misc/test_upipe.cpp2
-rw-r--r--examples/Connection/non_blocking/test_spipe_acceptor.cpp2
-rw-r--r--examples/Connection/non_blocking/test_spipe_connector.cpp2
-rw-r--r--examples/Connection/non_blocking/test_tli_acceptor.cpp2
-rw-r--r--examples/Connection/non_blocking/test_tli_connector.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/Connection/misc/test_upipe.cpp b/examples/Connection/misc/test_upipe.cpp
index 73fb2a06103..2290390d654 100644
--- a/examples/Connection/misc/test_upipe.cpp
+++ b/examples/Connection/misc/test_upipe.cpp
@@ -204,7 +204,7 @@ template class ACE_Thread_Strategy<Server_Service>;
#else
int
-main (void)
+main (int, char *[])
{
ACE_ERROR_RETURN ((LM_ERROR, "your platform does not support threads\n"), 1);
}
diff --git a/examples/Connection/non_blocking/test_spipe_acceptor.cpp b/examples/Connection/non_blocking/test_spipe_acceptor.cpp
index c6d98bbd912..4378969516d 100644
--- a/examples/Connection/non_blocking/test_spipe_acceptor.cpp
+++ b/examples/Connection/non_blocking/test_spipe_acceptor.cpp
@@ -40,7 +40,7 @@ template class Svc_Handler<ACE_SPIPE_STREAM>;
#else
int
-main (void)
+main (int, char *[])
{
ACE_ERROR_RETURN ((LM_ERROR, "This test is not ported to Win32 (yet)\n"), -1);
}
diff --git a/examples/Connection/non_blocking/test_spipe_connector.cpp b/examples/Connection/non_blocking/test_spipe_connector.cpp
index d8b367b1347..667bf927404 100644
--- a/examples/Connection/non_blocking/test_spipe_connector.cpp
+++ b/examples/Connection/non_blocking/test_spipe_connector.cpp
@@ -46,7 +46,7 @@ template class Peer_Handler<ACE_SPIPE_STREAM>;
#else
int
-main (void)
+main (int, char *[])
{
ACE_ERROR_RETURN ((LM_ERROR, "This test is not ported to Win32 (yet)\n"), -1);
}
diff --git a/examples/Connection/non_blocking/test_tli_acceptor.cpp b/examples/Connection/non_blocking/test_tli_acceptor.cpp
index 3b1008f4f3c..7eeb9abb0c9 100644
--- a/examples/Connection/non_blocking/test_tli_acceptor.cpp
+++ b/examples/Connection/non_blocking/test_tli_acceptor.cpp
@@ -41,7 +41,7 @@ template class Svc_Handler<ACE_TLI_STREAM>;
#else
int
-main (void)
+main (int, char *[])
{
ACE_ERROR_RETURN ((LM_ERROR, "your platform does not support TLI\n"), 1);
}
diff --git a/examples/Connection/non_blocking/test_tli_connector.cpp b/examples/Connection/non_blocking/test_tli_connector.cpp
index 31846345746..009098a0482 100644
--- a/examples/Connection/non_blocking/test_tli_connector.cpp
+++ b/examples/Connection/non_blocking/test_tli_connector.cpp
@@ -48,7 +48,7 @@ template class Peer_Handler<ACE_TLI_STREAM>;
#else
int
-main (void)
+main (int, char *[])
{
ACE_ERROR_RETURN ((LM_ERROR, "your platform does not support TLI\n"), 1);
}