summaryrefslogtreecommitdiff
path: root/ace/FILE.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/FILE.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/FILE.h')
-rw-r--r--ace/FILE.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/ace/FILE.h b/ace/FILE.h
index ec8c2cd2494..7164e81ba2c 100644
--- a/ace/FILE.h
+++ b/ace/FILE.h
@@ -5,25 +5,26 @@
//
// = LIBRARY
// ace
-//
+//
// = FILENAME
// FILE.h
//
// = AUTHOR
// Gerhard Lenzer
-//
+//
// ============================================================================
#ifndef ACE_FILE_H
#define ACE_FILE_H
#include "ace/IO_SAP.h"
-#include "ace/FILE_Addr.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
+# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "ace/FILE_Addr.h"
+
// The following is necessary since many C++ compilers don't support
// typedef'd types inside of classes used as formal template
// arguments... ;-(. Luckily, using the C++ preprocessor I can hide
@@ -42,7 +43,7 @@ class ACE_Export ACE_FILE_Info
// = TITLE
// Abstracts basic OS FILE information.
public:
- mode_t mode_;
+ mode_t mode_;
// mode of file
nlink_t nlink_;
@@ -56,7 +57,7 @@ class ACE_Export ACE_FILE : public ACE_IO_SAP
{
// = TITLE
// Defines the member functions for the base class of the
- // ACE_FILE abstraction.
+ // ACE_FILE abstraction.
public:
int close (void);
// Close down the ACE_FILE
@@ -86,7 +87,7 @@ public:
protected:
ACE_FILE (void);
- // Ensure that this class is an abstract base class
+ // Ensure that this class is an abstract base class
};
#if !defined (ACE_LACKS_INLINE_FUNCTIONS)