about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Denton <chris@chrisdenton.dev>2024-07-14 07:10:00 +0000
committerChris Denton <chris@chrisdenton.dev>2024-07-15 05:01:21 +0000
commit1b7cf3a3f2c99722972747b1f6003a8c151c81c9 (patch)
treec075a7a12d7f581db410fbc2b22d38103a8a487d
parent8052fb8f3c38eda84a239022d391a0a943261ed3 (diff)
downloadrust-1b7cf3a3f2c99722972747b1f6003a8c151c81c9.tar.gz
rust-1b7cf3a3f2c99722972747b1f6003a8c151c81c9.zip
Remove LPOVERLAPPED
-rw-r--r--library/std/src/sys/pal/windows/c.rs1
-rw-r--r--library/std/src/sys/pal/windows/pipe.rs2
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;