From 70fab4ec71b3a206b042b6c027c14ad575876b8c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 18 Apr 2008 20:30:04 +0000 Subject: 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. --- winsup/cygwin/wsa_event.h | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 winsup/cygwin/wsa_event.h (limited to 'winsup/cygwin/wsa_event.h') 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_ */ -- cgit v1.2.3