summaryrefslogtreecommitdiff
path: root/ace/Service_Config.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-05-09 21:39:52 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-05-09 21:39:52 +0000
commit4e25939091e551f67d26020c129bb50d0afff369 (patch)
tree2a2ed53e8af5b0b7fdf73a67b93f2a4a88f5459c /ace/Service_Config.cpp
parentdb691ae5101d46fda57fa871e0fbcca0532e3b9d (diff)
downloadATCD-4e25939091e551f67d26020c129bb50d0afff369.tar.gz
ChangeLogTag:Thu May 9 16:26:48 2002 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/Service_Config.cpp')
-rw-r--r--ace/Service_Config.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/ace/Service_Config.cpp b/ace/Service_Config.cpp
index 72e982f5ebe..7b75c157aa3 100644
--- a/ace/Service_Config.cpp
+++ b/ace/Service_Config.cpp
@@ -240,6 +240,7 @@ ACE_Service_Config::create_service_type (const ACE_TCHAR *n,
0);
return sp;
}
+#endif /* ACE_USES_CLASSIC_SVC_CONF == 0 */
ACE_Service_Type_Impl *
ACE_Service_Config::create_service_type_impl (const ACE_TCHAR *name,
@@ -281,7 +282,7 @@ ACE_Service_Config::create_service_type_impl (const ACE_TCHAR *name,
return stp;
}
-#endif /* ACE_USES_CLASSIC_SVC_CONF == 0 */
+
// Initialize and activate a statically linked service.
int
@@ -568,11 +569,11 @@ ACE_Service_Config::process_directive (const ACE_Static_Svc_Descriptor &ssd,
void *sym = (ssd.alloc_)(&gobbler);
ACE_Service_Type_Impl *stp =
- ace_create_service_type (ssd.name_,
- ssd.type_,
- sym,
- ssd.flags_,
- gobbler);
+ ACE_Service_Config::create_service_type_impl (ssd.name_,
+ ssd.type_,
+ sym,
+ ssd.flags_,
+ gobbler);
if (stp == 0)
return 0;