summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/winsup.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-04-09 12:09:45 +0000
committerCorinna Vinschen <corinna@vinschen.de>2004-04-09 12:09:45 +0000
commit7aa88267c1df43b50cd3236e3e06747e1830d27b (patch)
treed06c953ba04d4c2d38dcd4eb5665ab5595c1d638 /winsup/cygwin/winsup.h
parentb79f85c28b63ccc3326ac78654c8171c3f8a5706 (diff)
downloadcygnal-7aa88267c1df43b50cd3236e3e06747e1830d27b.tar.gz
cygnal-7aa88267c1df43b50cd3236e3e06747e1830d27b.tar.bz2
cygnal-7aa88267c1df43b50cd3236e3e06747e1830d27b.zip
* fhandler.h (fhandler_base::status): Declare private.
(fhandler_base::open_status): Ditto. (class fhandler_socket): Move status bits into private bitfield struct type status_flags. Change accessor methods appropriately. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Accomodate above status bit changes. * tty.h: Remove status bit enumerator. (TTYISSETF): Remove. (TTYSETF): Remove. (TTYCLEARF): Remove. (TTYCONDSETF): Remove. (tty_min::status): Define as private bitfield struct type status_flags. Add appropriate accessor methods. * fhandler_console.cc: Use tty_min::status accessor methods throughout. * fhandler_termios.cc: Ditto. * winsup.h (__ISSETF): Remove. (__SETF): Remove. (__CLEARF): Remove. (__CONDSETF): Remove.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index a7e38d772..3dbb3ce89 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -131,16 +131,6 @@ extern int cygserver_running;
#define TITLESIZE 1024
-/* status bit manipulation */
-#define __ISSETF(what, x, prefix) \
- ((what)->status & prefix##_##x)
-#define __SETF(what, x, prefix) \
- ((what)->status |= prefix##_##x)
-#define __CLEARF(what, x, prefix) \
- ((what)->status &= ~prefix##_##x)
-#define __CONDSETF(n, what, x, prefix) \
- ((n) ? __SETF (what, x, prefix) : __CLEARF (what, x, prefix))
-
#include "debug.h"
/* Events/mutexes */