summaryrefslogtreecommitdiff
path: root/TAO/examples/Logging
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2007-08-11 17:28:39 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2007-08-11 17:28:39 +0000
commit94c11d1ea99d1b8bbb135befc240b4091994b00a (patch)
treeb58b7368f385b9a8f9e6b6b883012ede96067ea4 /TAO/examples/Logging
parent12b8ba0a851c2d702df8d2a6e54958a729409e5c (diff)
downloadATCD-94c11d1ea99d1b8bbb135befc240b4091994b00a.tar.gz
Sat Aug 11 17:20:15 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'TAO/examples/Logging')
-rw-r--r--TAO/examples/Logging/Logging.mpc2
-rw-r--r--TAO/examples/Logging/Logging_Service.cpp2
-rw-r--r--TAO/examples/Logging/Logging_Test.cpp2
3 files changed, 4 insertions, 2 deletions
diff --git a/TAO/examples/Logging/Logging.mpc b/TAO/examples/Logging/Logging.mpc
index 481a22e5c21..b6ab1cd9e13 100644
--- a/TAO/examples/Logging/Logging.mpc
+++ b/TAO/examples/Logging/Logging.mpc
@@ -9,6 +9,7 @@ project(*IDL): taoidldefaults {
}
project(*Service): namingexe, utils, avoids_corba_e_micro {
+ exename = Logging_Service
after += *IDL
Source_Files {
Logger_i.cpp
@@ -22,6 +23,7 @@ project(*Service): namingexe, utils, avoids_corba_e_micro {
}
project(*Test): namingexe, utils {
+ exename = Logging_Test
after += *IDL
Source_Files {
Logging_Test.cpp
diff --git a/TAO/examples/Logging/Logging_Service.cpp b/TAO/examples/Logging/Logging_Service.cpp
index 9b696ae503d..5481f7e8500 100644
--- a/TAO/examples/Logging/Logging_Service.cpp
+++ b/TAO/examples/Logging/Logging_Service.cpp
@@ -6,7 +6,7 @@
ACE_RCSID(Logging_Service, Logging_Service, "$Id$")
int
-main (int argc, char *argv[])
+ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
// Set TAO_debug_level to 0 to ensure silent running unless
// debugging is explicitly invoked
diff --git a/TAO/examples/Logging/Logging_Test.cpp b/TAO/examples/Logging/Logging_Test.cpp
index f309e54d9e6..535e3903b51 100644
--- a/TAO/examples/Logging/Logging_Test.cpp
+++ b/TAO/examples/Logging/Logging_Test.cpp
@@ -7,7 +7,7 @@ ACE_RCSID(Logger, Logging_Test, "$Id$")
// This function runs the Logging service test.
int
-main (int argc, char **argv)
+ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
Logger_Client logger_client;