diff options
Diffstat (limited to 'flat/CIAO/examples/BasicSP')
-rw-r--r-- | flat/CIAO/examples/BasicSP/EC/client.cpp | 2 | ||||
-rw-r--r-- | flat/CIAO/examples/BasicSP/EC/controller.cpp | 9 |
2 files changed, 5 insertions, 6 deletions
diff --git a/flat/CIAO/examples/BasicSP/EC/client.cpp b/flat/CIAO/examples/BasicSP/EC/client.cpp index 2106489309f..80165cd827d 100644 --- a/flat/CIAO/examples/BasicSP/EC/client.cpp +++ b/flat/CIAO/examples/BasicSP/EC/client.cpp @@ -16,7 +16,7 @@ #include "ace/OS_NS_unistd.h" int -ACE_TMAIN(int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { try { diff --git a/flat/CIAO/examples/BasicSP/EC/controller.cpp b/flat/CIAO/examples/BasicSP/EC/controller.cpp index af7af9f77ff..40a27d1e58e 100644 --- a/flat/CIAO/examples/BasicSP/EC/controller.cpp +++ b/flat/CIAO/examples/BasicSP/EC/controller.cpp @@ -16,9 +16,9 @@ int rate = 3; int turn_on = 1; int -parse_args (int argc, char *argv[]) +parse_args (int argc, ACE_TCHAR *argv[]) { - ACE_Get_Opt get_opts (argc, argv, "k:r:of"); + ACE_Get_Opt get_opts (argc, argv, ACE_TEXT("k:r:of")); int c; while ((c = get_opts ()) != -1) @@ -70,13 +70,12 @@ parse_args (int argc, char *argv[]) } int -ACE_TMAIN(int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { try { // Initialize orb - CORBA::ORB_var orb = CORBA::ORB_init (argc, - argv); + CORBA::ORB_var orb = CORBA::ORB_init (argc, argv); if (parse_args (argc, argv) != 0) { |