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 | 5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch) | |
tree | 5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/TLI.h | |
parent | 2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff) | |
download | ATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/TLI.h')
-rw-r--r-- | ace/TLI.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/ace/TLI.h b/ace/TLI.h index 85991e53de0..b9163d34ac5 100644 --- a/ace/TLI.h +++ b/ace/TLI.h @@ -6,25 +6,26 @@ // // = LIBRARY // ace -// +// // = FILENAME // TLI.h // // = AUTHOR -// Doug Schmidt -// +// Doug Schmidt +// // ============================================================================ #ifndef ACE_TLI_H #define ACE_TLI_H #include "ace/IPC_SAP.h" -#include "ace/Addr.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) -#pragma once +# pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "ace/Addr.h" + #if defined (ACE_HAS_TLI) // There's not a universal device name for TLI devices. If the platform @@ -38,12 +39,12 @@ class ACE_Export ACE_TLI : public ACE_IPC_SAP { // = TITLE // Defines the member functions for the base class of the - // ACE_TLI abstraction. + // ACE_TLI abstraction. public: // = Initialization and termination methods. - ACE_HANDLE open (const char device[], - int oflag = O_RDWR, - struct t_info *info = 0); + ACE_HANDLE open (const char device[], + int oflag = O_RDWR, + struct t_info *info = 0); // Initialize a TLI endpoint. int close (void); @@ -61,7 +62,7 @@ public: int snddis (struct t_call * = 0) const; int sndrel (void) const; int rcvrel (void) const; - + int get_local_addr (ACE_Addr &) const; // Return our local endpoint address. |