mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 04:27:45 +00:00
id: add missing repr(C)
This commit is contained in:
parent
1dc57eb329
commit
4618aa99bc
1 changed files with 3 additions and 0 deletions
|
@ -51,17 +51,20 @@ mod audit {
|
|||
pub type au_emod_t = c_uint;
|
||||
pub type au_class_t = c_int;
|
||||
|
||||
#[repr(C)]
|
||||
pub struct au_mask {
|
||||
pub am_success: c_uint,
|
||||
pub am_failure: c_uint
|
||||
}
|
||||
pub type au_mask_t = au_mask;
|
||||
|
||||
#[repr(C)]
|
||||
pub struct au_tid_addr {
|
||||
pub port: dev_t,
|
||||
}
|
||||
pub type au_tid_addr_t = au_tid_addr;
|
||||
|
||||
#[repr(C)]
|
||||
pub struct c_auditinfo_addr {
|
||||
pub ai_auid: au_id_t, /* Audit user ID */
|
||||
pub ai_mask: au_mask_t, /* Audit masks. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue