summaryrefslogtreecommitdiff
path: root/ace/Name_Proxy.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
commit5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch)
tree5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/Name_Proxy.h
parent2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff)
downloadATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/Name_Proxy.h')
-rw-r--r--ace/Name_Proxy.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/ace/Name_Proxy.h b/ace/Name_Proxy.h
index 2e442cf1a31..446afbc9cc7 100644
--- a/ace/Name_Proxy.h
+++ b/ace/Name_Proxy.h
@@ -22,16 +22,17 @@
#define ACE_NAME_PROXY_H
#include "ace/INET_Addr.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "ace/SOCK_Connector.h"
#include "ace/SOCK_Stream.h"
#include "ace/Service_Config.h"
#include "ace/Synch_Options.h"
#include "ace/Name_Request_Reply.h"
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
class ACE_Export ACE_Name_Proxy : public ACE_Event_Handler
{
// = TITLE
@@ -47,12 +48,12 @@ public:
// = Establish a binding with the ACE_Name Server.
ACE_Name_Proxy (const ACE_INET_Addr &remote_addr, // Address of ACE_Name Server.
- ACE_Synch_Options& options =
- ACE_Synch_Options::defaults);
+ ACE_Synch_Options& options =
+ ACE_Synch_Options::defaults);
int open (const ACE_INET_Addr &remote_addr, // Address of ACE_Name Server.
- ACE_Synch_Options& options =
- ACE_Synch_Options::defaults);
+ ACE_Synch_Options& options =
+ ACE_Synch_Options::defaults);
int request_reply (ACE_Name_Request &request);
// Perform the request and wait for the reply.