Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r--winsup/cygwin/fhandler_proc.cc17
1 files changed, 6 insertions, 11 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 584064210..42bd8e16e 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -17,8 +17,8 @@ details. */
#include <ntdef.h>
#include "cygerrno.h"
#include "security.h"
-#include "fhandler.h"
#include "path.h"
+#include "fhandler.h"
#include "pinfo.h"
#include "dtable.h"
#include "cygheap.h"
@@ -146,23 +146,18 @@ fhandler_proc::exists ()
}
fhandler_proc::fhandler_proc ():
- fhandler_virtual (FH_PROC)
-{
-}
-
-fhandler_proc::fhandler_proc (DWORD devtype):
- fhandler_virtual (devtype)
+ fhandler_virtual ()
{
}
int
-fhandler_proc::fstat (struct __stat64 *buf, path_conv *pc)
+fhandler_proc::fstat (struct __stat64 *buf)
{
const char *path = get_name ();
debug_printf ("fstat (%s)", path);
path += proc_len;
- (void) fhandler_base::fstat (buf, pc);
+ (void) fhandler_base::fstat (buf);
buf->st_mode &= ~_IFMT & NO_W;
@@ -216,11 +211,11 @@ fhandler_proc::readdir (DIR * dir)
}
int
-fhandler_proc::open (path_conv *pc, int flags, mode_t mode)
+fhandler_proc::open (int flags, mode_t mode)
{
int proc_file_no = -1;
- int res = fhandler_virtual::open (pc, flags, mode);
+ int res = fhandler_virtual::open (flags, mode);
if (!res)
goto out;