summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/wsa_event.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-04-18 20:30:04 +0000
committerCorinna Vinschen <corinna@vinschen.de>2008-04-18 20:30:04 +0000
commit70fab4ec71b3a206b042b6c027c14ad575876b8c (patch)
treef4658b66043149f47658f67c8d68c49a8a868a87 /winsup/cygwin/wsa_event.h
parentdb5ae61884de2a1ecf6fd05ad4e8f3d0b4f530d6 (diff)
downloadcygnal-70fab4ec71b3a206b042b6c027c14ad575876b8c.tar.gz
cygnal-70fab4ec71b3a206b042b6c027c14ad575876b8c.tar.bz2
cygnal-70fab4ec71b3a206b042b6c027c14ad575876b8c.zip
Revert thinko in previous patch.
* fhandler.h (struct wsa_event): Move back from wsa_event.h to here. * fhandler_socket.cc (NUM_SOCKS): Ditto. (wsa_events): Move back from cygwin_shared to here. Accommodate throughout. (socket_serial_number): Ditto. * shared_info.h: Accommodate above changes. * wsa_event.h: Remove.
Diffstat (limited to 'winsup/cygwin/wsa_event.h')
-rw-r--r--winsup/cygwin/wsa_event.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/winsup/cygwin/wsa_event.h b/winsup/cygwin/wsa_event.h
deleted file mode 100644
index c5477431f..000000000
--- a/winsup/cygwin/wsa_event.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* wsa_event.h: type definition of a wsock event storage structure.
-
- Copyright 2008 Red Hat, Inc.
-
-This file is part of Cygwin.
-
-This software is a copyrighted work licensed under the terms of the
-Cygwin license. Please consult the file "CYGWIN_LICENSE" for
-details. */
-
-#ifndef _WSA_EVENT_H_
-#define _WSA_EVENT_H_
-
-/* All Cygwin processes together can share 2048 sockets. */
-#define NUM_SOCKS (32768 / sizeof (wsa_event))
-
-struct wsa_event
-{
- LONG serial_number;
- long events;
- int connect_errorcode;
- pid_t owner;
-};
-
-#endif /* _WSA_EVENT_H_ */