diff options
Diffstat (limited to 'netsvcs/clients/Tokens/collection/collection.cpp')
-rw-r--r-- | netsvcs/clients/Tokens/collection/collection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/netsvcs/clients/Tokens/collection/collection.cpp b/netsvcs/clients/Tokens/collection/collection.cpp index 8df0ae625fc..5853c5afd91 100644 --- a/netsvcs/clients/Tokens/collection/collection.cpp +++ b/netsvcs/clients/Tokens/collection/collection.cpp @@ -92,7 +92,7 @@ parse_args (int argc, char *argv[]) { ACE_LOG_MSG->open (argv[0], ACE_Log_Msg::STDERR); // | ACE_Log_Msg::VERBOSE); - ACE_Get_Opt get_opt (argc, argv, "un:dp:h:", 1); + ACE_Get_Arg_Opt get_opt (argc, argv, "un:dp:h:", 1); for (int c; (c = get_opt ()) != -1; ) { @@ -129,7 +129,7 @@ parse_args (int argc, char *argv[]) } int -main (int argc, char* argv[]) +ACE_TMAIN (int argc, ACE_TCHAR* argv[]) { if (parse_args (argc, argv) == -1) return -1; @@ -202,7 +202,7 @@ main (int argc, char* argv[]) #else int -main (int, char *[]) +ACE_TMAIN (int, ACE_TCHAR *[]) { ACE_ERROR_RETURN ((LM_ERROR, "threads not supported on this platform\n"), -1); |