]> git.proxmox.com Git - cargo.git/blobdiff - vendor/libc/src/windows/gnu/mod.rs
New upstream version 0.52.0
[cargo.git] / vendor / libc / src / windows / gnu / mod.rs
index 3e906967f60dc39ebfeb9cd9cf117f0e0a630928..3e7d38b8e83c6bfebdd71c691f20b52beae734ed 100644 (file)
@@ -8,19 +8,11 @@ pub const STDERR_FILENO: ::c_int = 2;
 
 extern "C" {
     pub fn strcasecmp(s1: *const ::c_char, s2: *const ::c_char) -> ::c_int;
-    pub fn strncasecmp(
-        s1: *const ::c_char,
-        s2: *const ::c_char,
-        n: ::size_t,
-    ) -> ::c_int;
+    pub fn strncasecmp(s1: *const ::c_char, s2: *const ::c_char, n: ::size_t) -> ::c_int;
 
     // NOTE: For MSVC target, `wmemchr` is only a inline function in `<wchar.h>`
     //      header file. We cannot find a way to link to that symbol from Rust.
-    pub fn wmemchr(
-        cx: *const ::wchar_t,
-        c: ::wchar_t,
-        n: ::size_t,
-    ) -> *mut ::wchar_t;
+    pub fn wmemchr(cx: *const ::wchar_t, c: ::wchar_t, n: ::size_t) -> *mut ::wchar_t;
 }
 
 cfg_if! {