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:
authorChristopher Faylor <me@cgf.cx>2002-02-20 01:06:50 +0300
committerChristopher Faylor <me@cgf.cx>2002-02-20 01:06:50 +0300
commitaa6df8d7d4770b0410d0009643df70c1277dd499 (patch)
tree653aebba4370b9bde4ac578fe6467dc40e7acb74 /winsup/cygwin/fhandler_dsp.cc
parent74162926112eada970ef2b2f351e58816f1813b2 (diff)
* fhandler.cc (fhandler_base::puts_readahead): Remove default parameter
setting. Newer gcc's complain about this. (fhandler_base::set_readahead_valid): Ditto. * fhandler_dsp.cc (Audio::open): Ditto. (fhandler_dev_dsp::open): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_dsp.cc')
-rw-r--r--winsup/cygwin/fhandler_dsp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_dsp.cc b/winsup/cygwin/fhandler_dsp.cc
index 0712850c4..baa998943 100644
--- a/winsup/cygwin/fhandler_dsp.cc
+++ b/winsup/cygwin/fhandler_dsp.cc
@@ -86,7 +86,7 @@ Audio::~Audio ()
}
bool
-Audio::open (int rate, int bits, int channels, bool bCallback = false)
+Audio::open (int rate, int bits, int channels, bool bCallback)
{
WAVEFORMATEX format;
int nDevices = waveOutGetNumDevs ();
@@ -430,7 +430,7 @@ fhandler_dev_dsp::~fhandler_dev_dsp ()
}
int
-fhandler_dev_dsp::open (path_conv *, int flags, mode_t mode = 0)
+fhandler_dev_dsp::open (path_conv *, int flags, mode_t mode)
{
// currently we only support writing
if ((flags & (O_WRONLY | O_RDONLY | O_RDWR)) != O_WRONLY)