summaryrefslogtreecommitdiff
path: root/ace/Svc_Conf_y.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Svc_Conf_y.cpp')
-rw-r--r--ace/Svc_Conf_y.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/ace/Svc_Conf_y.cpp b/ace/Svc_Conf_y.cpp
index d18774268d8..13e67fba952 100644
--- a/ace/Svc_Conf_y.cpp
+++ b/ace/Svc_Conf_y.cpp
@@ -37,8 +37,6 @@ ACE_RCSID (ace,
"$Id$")
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
// Prototypes.
static ACE_Module_Type *ace_get_module (ACE_Static_Node *str_rec,
ACE_Static_Node *svc_type,
@@ -300,9 +298,7 @@ static const short ace_yycheck[] =
# define ACE_YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
# else
# if defined (__STDC__) || defined (__cplusplus)
-ACE_END_VERSIONED_NAMESPACE_DECL
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
# define ACE_YYSIZE_T size_t
# endif
# define ACE_YYSTACK_ALLOC malloc
@@ -385,9 +381,7 @@ union ace_yyalloc
#endif
#if ! defined (ACE_YYSIZE_T)
# if defined (__STDC__) || defined (__cplusplus)
-ACE_END_VERSIONED_NAMESPACE_DECL
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
# define ACE_YYSIZE_T size_t
# endif
#endif
@@ -467,9 +461,7 @@ while (0)
#if ACE_YYDEBUG
# ifndef ACE_YYFPRINTF
-ACE_END_VERSIONED_NAMESPACE_DECL
# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
# define ACE_YYFPRINTF ACE_OS::fprintf
# endif
@@ -1520,7 +1512,7 @@ ace_get_module (ACE_Static_Node *str_rec,
// Main driver program.
int
-main (int argc, ACE_TCHAR *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
ACE_Svc_Conf_Param param (stdin);
@@ -1531,7 +1523,4 @@ main (int argc, ACE_TCHAR *argv[])
return ::ace_yyparse (&param);
}
#endif /* DEBUGGING */
-
-ACE_END_VERSIONED_NAMESPACE_DECL
-
#endif /* ACE_USES_CLASSIC_SVC_CONF == 1 */