File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
library/std/src/sys/pal/windows Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ pub use windows_sys::*;
19
19
20
20
pub type DWORD = c_ulong ;
21
21
pub type SIZE_T = usize ;
22
- pub type CHAR = c_char ;
23
22
pub type ULONG = c_ulong ;
24
23
25
24
pub type LPCVOID = * const c_void ;
@@ -141,9 +140,9 @@ pub struct MOUNT_POINT_REPARSE_BUFFER {
141
140
#[ repr( C ) ]
142
141
pub struct SOCKADDR_STORAGE_LH {
143
142
pub ss_family : ADDRESS_FAMILY ,
144
- pub __ss_pad1 : [ CHAR ; 6 ] ,
143
+ pub __ss_pad1 : [ c_char ; 6 ] ,
145
144
pub __ss_align : i64 ,
146
- pub __ss_pad2 : [ CHAR ; 112 ] ,
145
+ pub __ss_pad2 : [ c_char ; 112 ] ,
147
146
}
148
147
149
148
#[ repr( C ) ]
@@ -152,7 +151,7 @@ pub struct sockaddr_in {
152
151
pub sin_family : ADDRESS_FAMILY ,
153
152
pub sin_port : c_ushort ,
154
153
pub sin_addr : in_addr ,
155
- pub sin_zero : [ CHAR ; 8 ] ,
154
+ pub sin_zero : [ c_char ; 8 ] ,
156
155
}
157
156
158
157
#[ repr( C ) ]
You can’t perform that action at this time.
0 commit comments