summaryrefslogtreecommitdiff
path: root/apps/JAWS/stress_testing
diff options
context:
space:
mode:
Diffstat (limited to 'apps/JAWS/stress_testing')
-rw-r--r--apps/JAWS/stress_testing/benchd.cpp6
-rw-r--r--apps/JAWS/stress_testing/http_tester.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/JAWS/stress_testing/benchd.cpp b/apps/JAWS/stress_testing/benchd.cpp
index ff17f669430..c5a06a6c8b2 100644
--- a/apps/JAWS/stress_testing/benchd.cpp
+++ b/apps/JAWS/stress_testing/benchd.cpp
@@ -174,7 +174,7 @@ Handle_Events::serve (char *buf)
static void
parse_args (int argc, char *argv[])
{
- ACE_Get_Opt get_opt (argc, argv, "i:u:q");
+ ACE_Get_Arg_Opt<char> get_opt (argc, argv, "i:u:q");
int c;
@@ -205,7 +205,7 @@ handler (int)
}
int
-main (int argc, char *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
ACE_Sig_Action sa ((ACE_SignalHandler) handler, SIGINT);
ACE_OS::signal (SIGCLD, SIG_IGN);
@@ -231,7 +231,7 @@ main (int argc, char *argv[])
}
#else
int
-main (int argc, char *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
ACE_ERROR ((LM_ERROR, "error: %s must be run on a platform that support IP multicast\n",
argv[0]));
diff --git a/apps/JAWS/stress_testing/http_tester.cpp b/apps/JAWS/stress_testing/http_tester.cpp
index eb086262317..2a7366fde33 100644
--- a/apps/JAWS/stress_testing/http_tester.cpp
+++ b/apps/JAWS/stress_testing/http_tester.cpp
@@ -124,7 +124,7 @@ int driver(char *id, int total_num, float requests_sec, char *url1, float p1, ch
}
-main(int argc, char **argv)
+ACE_TMAIN(int argc, ACE_TCHAR **argv)
{
// This will set the global scale factor if the ACE_SCALE_FACTOR
// environment variable is set.