rename posix_dent d_off
This commit is contained in:
@@ -161,13 +161,12 @@ pub struct dirent {
|
||||
#[derive(Clone)]
|
||||
pub struct posix_dent {
|
||||
pub d_ino: ino_t,
|
||||
pub __unused_d_off: off_t,
|
||||
pub d_off: off_t, // not specified by posix
|
||||
pub d_reclen: reclen_t,
|
||||
pub d_type: c_uchar,
|
||||
pub d_name: [c_char; 256],
|
||||
}
|
||||
|
||||
|
||||
#[cfg(target_os = "redox")]
|
||||
const _: () = {
|
||||
use core::mem::{offset_of, size_of};
|
||||
@@ -371,6 +370,5 @@ pub extern "C" fn telldir(dir: &mut DIR) -> c_long {
|
||||
dir.opaque_offset as c_long
|
||||
}
|
||||
|
||||
|
||||
#[unsafe(no_mangle)]
|
||||
pub unsafe extern "C" fn cbindgen_stupid_struct_user_for_posix_dent(a: posix_dent) {}
|
||||
|
||||
Reference in New Issue
Block a user