about summary refs log tree commit diff
path: root/src/liblibc
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblibc')
-rw-r--r--src/liblibc/lib.rs34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs
index 0051d9a89c2..370dc4a0822 100644
--- a/src/liblibc/lib.rs
+++ b/src/liblibc/lib.rs
@@ -1456,14 +1456,6 @@ pub mod types {
                     pub Data4: [BYTE, ..8],
                 }
 
-                // NOTE(pcwalton, stage0): Remove after snapshot (typeck bug
-                // workaround).
-                #[cfg(stage0)]
-                pub struct WSAPROTOCOLCHAIN {
-                    pub ChainLen: c_int,
-                    pub ChainEntries: [DWORD, ..MAX_PROTOCOL_CHAIN],
-                }
-                #[cfg(not(stage0))]
                 pub struct WSAPROTOCOLCHAIN {
                     pub ChainLen: c_int,
                     pub ChainEntries: [DWORD, ..MAX_PROTOCOL_CHAIN as uint],
@@ -1471,32 +1463,6 @@ pub mod types {
 
                 pub type LPWSAPROTOCOLCHAIN = *mut WSAPROTOCOLCHAIN;
 
-                // NOTE(pcwalton, stage0): Remove after snapshot (typeck bug
-                // workaround).
-                #[cfg(stage0)]
-                pub struct WSAPROTOCOL_INFO {
-                    pub dwServiceFlags1: DWORD,
-                    pub dwServiceFlags2: DWORD,
-                    pub dwServiceFlags3: DWORD,
-                    pub dwServiceFlags4: DWORD,
-                    pub dwProviderFlags: DWORD,
-                    pub ProviderId: GUID,
-                    pub dwCatalogEntryId: DWORD,
-                    pub ProtocolChain: WSAPROTOCOLCHAIN,
-                    pub iVersion: c_int,
-                    pub iAddressFamily: c_int,
-                    pub iMaxSockAddr: c_int,
-                    pub iMinSockAddr: c_int,
-                    pub iSocketType: c_int,
-                    pub iProtocol: c_int,
-                    pub iProtocolMaxOffset: c_int,
-                    pub iNetworkByteOrder: c_int,
-                    pub iSecurityScheme: c_int,
-                    pub dwMessageSize: DWORD,
-                    pub dwProviderReserved: DWORD,
-                    pub szProtocol: [u8, ..WSAPROTOCOL_LEN+1],
-                }
-                #[cfg(not(stage0))]
                 pub struct WSAPROTOCOL_INFO {
                     pub dwServiceFlags1: DWORD,
                     pub dwServiceFlags2: DWORD,