diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2024-07-14 07:10:00 +0000 |
|---|---|---|
| committer | Chris Denton <chris@chrisdenton.dev> | 2024-07-15 05:01:21 +0000 |
| commit | 1b7cf3a3f2c99722972747b1f6003a8c151c81c9 (patch) | |
| tree | c075a7a12d7f581db410fbc2b22d38103a8a487d | |
| parent | 8052fb8f3c38eda84a239022d391a0a943261ed3 (diff) | |
| download | rust-1b7cf3a3f2c99722972747b1f6003a8c151c81c9.tar.gz rust-1b7cf3a3f2c99722972747b1f6003a8c151c81c9.zip | |
Remove LPOVERLAPPED
| -rw-r--r-- | library/std/src/sys/pal/windows/c.rs | 1 | ||||
| -rw-r--r-- | library/std/src/sys/pal/windows/pipe.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/sys/pal/windows/c.rs b/library/std/src/sys/pal/windows/c.rs index 801970f93ff..d118e430ab2 100644 --- a/library/std/src/sys/pal/windows/c.rs +++ b/library/std/src/sys/pal/windows/c.rs @@ -21,7 +21,6 @@ pub type DWORD = c_ulong; pub type WCHAR = u16; pub type ULONG = c_ulong; -pub type LPOVERLAPPED = *mut OVERLAPPED; pub type LPSECURITY_ATTRIBUTES = *mut SECURITY_ATTRIBUTES; pub type LPVOID = *mut c_void; diff --git a/library/std/src/sys/pal/windows/pipe.rs b/library/std/src/sys/pal/windows/pipe.rs index 67ef3ca82da..408653f538f 100644 --- a/library/std/src/sys/pal/windows/pipe.rs +++ b/library/std/src/sys/pal/windows/pipe.rs @@ -227,7 +227,7 @@ type AlertableIoFn = unsafe extern "system" fn( BorrowedHandle<'_>, c::LPVOID, c::DWORD, - c::LPOVERLAPPED, + *mut c::OVERLAPPED, c::LPOVERLAPPED_COMPLETION_ROUTINE, ) -> c::BOOL; |
