summaryrefslogtreecommitdiff
path: root/examples/Registry
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Registry')
-rw-r--r--examples/Registry/test_registry_iterator.cpp2
-rw-r--r--examples/Registry/test_registry_update.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/Registry/test_registry_iterator.cpp b/examples/Registry/test_registry_iterator.cpp
index 2ddecccc240..136a01fe795 100644
--- a/examples/Registry/test_registry_iterator.cpp
+++ b/examples/Registry/test_registry_iterator.cpp
@@ -26,7 +26,7 @@ static void print_context (ACE_Registry::Naming_Context &parent,
static void indent (u_long indentation);
int
-main (int argc, ACE_TCHAR *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
int result;
ACE_Registry::Naming_Context naming_context;
diff --git a/examples/Registry/test_registry_update.cpp b/examples/Registry/test_registry_update.cpp
index 49728e097c5..c84e1fda13b 100644
--- a/examples/Registry/test_registry_update.cpp
+++ b/examples/Registry/test_registry_update.cpp
@@ -30,7 +30,7 @@ static int update_counter (HKEY predefined,
static void setup_names ();
int
-main (int, ACE_TCHAR *[])
+ACE_TMAIN (int, ACE_TCHAR *[])
{
int result;
u_long current_counter = 0;