summaryrefslogtreecommitdiff
path: root/TAO/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cpp')
-rw-r--r--TAO/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cpp b/TAO/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cpp
index 9332d1a3e0c..3ba0c93cf81 100644
--- a/TAO/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cpp
+++ b/TAO/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cpp
@@ -17,7 +17,7 @@ int turn_on = 1;
int
parse_args (int argc, char *argv[])
{
- ACE_Get_Opt get_opts (argc, argv, "k:r:of");
+ ACE_Get_Arg_Opt<char> get_opts (argc, argv, "k:r:of");
int c;
while ((c = get_opts ()) != -1)
@@ -58,7 +58,7 @@ parse_args (int argc, char *argv[])
}
-int main (int argc, char* argv[])
+int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
{
ACE_TRY_NEW_ENV
{