aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-12-28 17:39:54 +0000
committerChristopher Faylor <me@cgf.cx>2002-12-28 17:39:54 +0000
commit55679810e918a7d5e510ddc70e8ebb69c9a3973f (patch)
tree949d0c6361c5633ece3c9ec24eecef27262dfa89
parent81bca5b8f04df9138379a4296bfdfc2a64e0a01c (diff)
downloadnewlib-github/unlabeled-1.24.4.zip
newlib-github/unlabeled-1.24.4.tar.gz
newlib-github/unlabeled-1.24.4.tar.bz2
Eliminate device number argument from fhandler constructors throughout.github/unlabeled-1.24.4unlabeled-1.24.4
-rw-r--r--winsup/cygwin/fhandler_floppy.cc3
-rw-r--r--winsup/cygwin/fhandler_random.cc2
2 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_floppy.cc b/winsup/cygwin/fhandler_floppy.cc
index 86b6c80..b8d5173 100644
--- a/winsup/cygwin/fhandler_floppy.cc
+++ b/winsup/cygwin/fhandler_floppy.cc
@@ -42,7 +42,8 @@ fhandler_dev_floppy::is_eof (int)
return ret;
}
-fhandler_dev_floppy::fhandler_dev_floppy () : fhandler_dev_raw (FH_FLOPPY)
+fhandler_dev_floppy::fhandler_dev_floppy ()
+ : fhandler_dev_raw ()
{
}
diff --git a/winsup/cygwin/fhandler_random.cc b/winsup/cygwin/fhandler_random.cc
index a9a6175..e1faed4 100644
--- a/winsup/cygwin/fhandler_random.cc
+++ b/winsup/cygwin/fhandler_random.cc
@@ -24,7 +24,7 @@ details. */
#define PSEUDO_SHIFTVAL (21)
fhandler_dev_random::fhandler_dev_random ()
- : fhandler_base (FH_RANDOM), crypt_prov ((HCRYPTPROV) NULL)
+ : fhandler_base (), crypt_prov ((HCRYPTPROV) NULL)
{
}