diff --git a/src/libksupport/src/kernel/core1.rs b/src/libksupport/src/kernel/core1.rs index 60e648d..7dfe17c 100644 --- a/src/libksupport/src/kernel/core1.rs +++ b/src/libksupport/src/kernel/core1.rs @@ -25,12 +25,14 @@ extern "C" { } unsafe fn attribute_writeback(typeinfo: *const ()) { + #[repr(C)] struct Attr { offset: usize, tag: CSlice<'static, u8>, name: CSlice<'static, u8>, } + #[repr(C)] struct Type { attributes: *const *const Attr, objects: *const *const (),