diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
commit | 0902828269fb1a42ed23c208fd61bac76aaddc13 (patch) | |
tree | 5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/LSOCK.h | |
parent | e7788cff873f30e65d44d38db7cfafc175f748a3 (diff) | |
download | ATCD-0902828269fb1a42ed23c208fd61bac76aaddc13.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/LSOCK.h')
-rw-r--r-- | ace/LSOCK.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ace/LSOCK.h b/ace/LSOCK.h index 981d6cc0c9f..4774f1a6578 100644 --- a/ace/LSOCK.h +++ b/ace/LSOCK.h @@ -5,13 +5,13 @@ // // = LIBRARY // ace -// +// // = FILENAME // LSOCK.h // // = AUTHOR -// Doug Schmidt -// +// Doug Schmidt +// // ============================================================================ #ifndef ACE_LOCAL_SOCK_H @@ -19,26 +19,26 @@ #include "ace/SOCK.h" -#if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) - #if !defined (ACE_LACKS_PRAGMA_ONCE) -#pragma once +# pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) + class ACE_Export ACE_LSOCK { // = TITLE // Create a Local ACE_SOCK, which is used for passing file - // descriptors. + // descriptors. public: #if defined (ACE_HAS_MSG) - int send_handle (const ACE_HANDLE handle) const; - // Send an open FD to another process. + int send_handle (const ACE_HANDLE handle) const; + // Send an open FD to another process. - int recv_handle (ACE_HANDLE &handles, - char *pbuf = 0, - int *len = 0) const; - // Recv an open FD from another process. + int recv_handle (ACE_HANDLE &handles, + char *pbuf = 0, + int *len = 0) const; + // Recv an open FD from another process. #endif /* ACE_HAS_MSG */ void dump (void) const; @@ -48,7 +48,7 @@ public: // Declare the dynamic allocation hooks. protected: - // = Ensure that ACE_LSOCK is an abstract base class + // = Ensure that ACE_LSOCK is an abstract base class ACE_LSOCK (void); // Default constructor. @@ -64,7 +64,7 @@ protected: private: ACE_HANDLE aux_handle_; - // An auxiliary handle used to avoid virtual base classes... + // An auxiliary handle used to avoid virtual base classes... }; #if !defined (ACE_LACKS_INLINE_FUNCTIONS) |