diff options
author | Christopher Faylor <me@cgf.cx> | 2002-02-19 22:06:50 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-02-19 22:06:50 +0000 |
commit | aa6df8d7d4770b0410d0009643df70c1277dd499 (patch) | |
tree | 653aebba4370b9bde4ac578fe6467dc40e7acb74 /winsup | |
parent | 74162926112eada970ef2b2f351e58816f1813b2 (diff) | |
download | newlib-aa6df8d7d4770b0410d0009643df70c1277dd499.zip newlib-aa6df8d7d4770b0410d0009643df70c1277dd499.tar.gz newlib-aa6df8d7d4770b0410d0009643df70c1277dd499.tar.bz2 |
* 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')
-rw-r--r-- | winsup/cygwin/ChangeLog | 8 | ||||
-rw-r--r-- | winsup/cygwin/fhandler.cc | 4 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_dsp.cc | 4 |
3 files changed, 12 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index d1be504..b74de2f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,13 @@ 2002-02-19 Christopher Faylor <cgf@redhat.com> + * 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. + +2002-02-19 Christopher Faylor <cgf@redhat.com> + * fork.cc (fork_parent): Use sec_user_nih to control process/thread inheritance/permission. * spawn.cc (spawn_guts): Ditto. diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 35ec5dd..b458049 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -49,7 +49,7 @@ fhandler_base::operator =(fhandler_base &x) } int -fhandler_base::puts_readahead (const char *s, size_t len = (size_t) -1) +fhandler_base::puts_readahead (const char *s, size_t len) { int success = 1; while ((*s || (len != (size_t) -1 && len--)) @@ -98,7 +98,7 @@ fhandler_base::peek_readahead (int queryput) } void -fhandler_base::set_readahead_valid (int val, int ch = -1) +fhandler_base::set_readahead_valid (int val, int ch) { if (!val) ralen = raixget = raixput = 0; diff --git a/winsup/cygwin/fhandler_dsp.cc b/winsup/cygwin/fhandler_dsp.cc index 0712850..baa9989 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) |