diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-02-21 02:54:49 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-02-21 02:54:49 +0000 |
commit | 2818ca44def0b624d64a20e81dc4ff9be5c06d86 (patch) | |
tree | 81f047922a4e15fbb083536bb310b13badc71767 | |
parent | 5a61814bcd5fe78627114579bbd8aa34b6d82490 (diff) | |
download | ATCD-2818ca44def0b624d64a20e81dc4ff9be5c06d86.tar.gz |
ChangeLogTag:Thu Feb 20 18:54:03 2003 Ossama Othman <ossama@uci.edu>
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | apps/Gateway/Gateway/gatewayd.cpp | 11 |
2 files changed, 15 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 92c5d6390e2..5c7b754694a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Thu Feb 20 18:54:03 2003 Ossama Othman <ossama@uci.edu> + + * apps/Gateway/Gateway/gatewayd.cpp: + + Include "ace/Service_Object.h" to pull in ACE_Service_Object_Ptr + class declaration. Necessitated by inter-header dependency + reductions. + Thu Feb 20 18:49:37 2003 Ossama Othman <ossama@uci.edu> * examples/Service_Configurator/Misc/Timer_Service.h: diff --git a/apps/Gateway/Gateway/gatewayd.cpp b/apps/Gateway/Gateway/gatewayd.cpp index fc3d533e74c..99a93b35408 100644 --- a/apps/Gateway/Gateway/gatewayd.cpp +++ b/apps/Gateway/Gateway/gatewayd.cpp @@ -19,15 +19,18 @@ // ============================================================================ #include "ace/Service_Config.h" +#include "ace/Service_Object.h" #include "ace/Log_Msg.h" #include "Gateway.h" -ACE_RCSID(Gateway, gatewayd, "$Id$") +ACE_RCSID (Gateway, + gatewayd, + "$Id$") int main (int argc, char *argv[]) { - if (ACE_OS::access (ACE_DEFAULT_SVC_CONF, F_OK) != 0) + if (ACE_OS::access (ACE_DEFAULT_SVC_CONF, F_OK) != 0) { // Use static linking. ACE_Service_Object_Ptr sp = ACE_SVC_INVOKE (Gateway); @@ -46,9 +49,9 @@ main (int argc, char *argv[]) // Destructor of <ACE_Service_Object_Ptr> automagically call // <fini>. } - else + else { - if (ACE_Service_Config::open (argc, argv) == -1) + if (ACE_Service_Config::open (argc, argv) == -1) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "open"), |