std: use the c_int from core::ffi instead of libc · model-checking/verify-rust-std@00d4964 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 00d4964

std: use the c_int from core::ffi instead of libc

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ pub unsafe fn register(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) {
25 25 #[cfi_encoding = "i"]
26 26 #[repr(transparent)]
27 27 #[allow(non_camel_case_types)]
28 -pub struct c_int(#[allow(dead_code)] pub libc::c_int);
28 +pub struct c_int(#[allow(dead_code)] pub core::ffi::c_int);
29 29
30 30 extern "C" {
31 31 #[linkage = "extern_weak"]