summaryrefslogtreecommitdiff
path: root/ACE/ace/Dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Dirent.h')
-rw-r--r--ACE/ace/Dirent.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/ACE/ace/Dirent.h b/ACE/ace/Dirent.h
index 1981a32127e..02551013d07 100644
--- a/ACE/ace/Dirent.h
+++ b/ACE/ace/Dirent.h
@@ -34,7 +34,7 @@ class ACE_Export ACE_Dirent
{
public:
/// Default constructor.
- ACE_Dirent (void);
+ ACE_Dirent ();
/// Constructor calls @c opendir()
explicit ACE_Dirent (const ACE_TCHAR *dirname);
@@ -44,10 +44,10 @@ public:
int open (const ACE_TCHAR *filename);
/// Destructor calls @c closedir().
- ~ACE_Dirent (void);
+ ~ACE_Dirent ();
/// Closes the directory stream and frees the ACE_DIR structure.
- void close (void);
+ void close ();
// = Iterator methods.
/**
@@ -67,20 +67,12 @@ public:
* update the st_atime field of the directory each time the
* directory is actually read.
*/
- ACE_DIRENT *read (void);
-
- /**
- * Has the equivalent functionality as @c read() except that an
- * @a entry and @a result buffer must be supplied by the caller to
- * store the result.
- */
- int read (struct ACE_DIRENT *entry,
- struct ACE_DIRENT **result);
+ ACE_DIRENT *read ();
// = Manipulators.
/// Returns the current location associated with the directory
/// stream.
- long tell (void);
+ long tell ();
/**
* Sets the position of the next @c read() operation on the
@@ -102,7 +94,7 @@ public:
* the current state of the corresponding directory, as a call to
* @c opendir() would.
*/
- void rewind (void);
+ void rewind ();
private:
/// Pointer to the directory stream.