summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-04-03 18:15:01 +0000
committerChristopher Faylor <me@cgf.cx>2000-04-03 18:15:01 +0000
commitaefbf3885d6484e411cf11ecccb3dcb7b29d75f7 (patch)
treec7a4c8d3a641d5352883a7718b9bbd608f326b5b /winsup/cygwin/fhandler.h
parent476839eb03747d00f6e9397357182f8cf35865b1 (diff)
downloadcygnal-aefbf3885d6484e411cf11ecccb3dcb7b29d75f7.tar.gz
cygnal-aefbf3885d6484e411cf11ecccb3dcb7b29d75f7.tar.bz2
cygnal-aefbf3885d6484e411cf11ecccb3dcb7b29d75f7.zip
* fhandler.h (select_stuff): Eliminate use of 'total'.
* select.cc (cygwin_select): Ditto. (select_stuff::wait): Use maximum size for w4 rather than calculating what will fit.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index ec19d2566..078189e4d 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -793,13 +793,11 @@ class select_stuff
{
public:
~select_stuff ();
- select_stuff (): always_ready (0), windows_used (0),
- total (0), start (0)
+ select_stuff (): always_ready (0), windows_used (0), start (0)
{
memset (device_specific, 0, sizeof (device_specific));
}
BOOL always_ready, windows_used;
- int total;
select_record start;
void *device_specific[FH_NDEV];