about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/sys/windows/c.rs2
-rw-r--r--library/std/src/sys/windows/pipe.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/windows/c.rs b/library/std/src/sys/windows/c.rs
index 70ce9901326..344f4d7114e 100644
--- a/library/std/src/sys/windows/c.rs
+++ b/library/std/src/sys/windows/c.rs
@@ -326,7 +326,7 @@ impl Default for IO_STATUS_BLOCK {
     }
 }
 
-pub type LPOVERLAPPED_COMPLETION_ROUTINE = unsafe extern "C" fn(
+pub type LPOVERLAPPED_COMPLETION_ROUTINE = unsafe extern "system" fn(
     dwErrorCode: DWORD,
     dwNumberOfBytesTransfered: DWORD,
     lpOverlapped: *mut OVERLAPPED,
diff --git a/library/std/src/sys/windows/pipe.rs b/library/std/src/sys/windows/pipe.rs
index 1723a331a32..df4f1b24eec 100644
--- a/library/std/src/sys/windows/pipe.rs
+++ b/library/std/src/sys/windows/pipe.rs
@@ -282,7 +282,7 @@ impl AnonPipe {
         }
 
         // STEP 3: The callback.
-        unsafe extern "C" fn callback(
+        unsafe extern "system" fn callback(
             dwErrorCode: u32,
             dwNumberOfBytesTransfered: u32,
             lpOverlapped: *mut c::OVERLAPPED,