* 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.
This commit is contained in:
Christopher Faylor
2002-02-19 22:06:50 +00:00
parent 7416292611
commit aa6df8d7d4
3 changed files with 12 additions and 4 deletions

View File

@@ -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)