mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-03 22:47:46 +00:00
uucore::utmpx: revert the changes
This commit is contained in:
parent
3ed49033b7
commit
1056542dd3
1 changed files with 2 additions and 8 deletions
|
@ -25,12 +25,6 @@ mod utmpx {
|
|||
pub const DEAD_PROCESS: libc::c_short = 8;
|
||||
pub const ACCOUNTING: libc::c_short = 9;
|
||||
|
||||
#[repr(C)]
|
||||
pub struct timeval {
|
||||
pub tv_sec: libc::int32_t,
|
||||
pub tv_usec: libc::int32_t,
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
pub struct c_exit_status {
|
||||
pub e_termination: libc::c_short,
|
||||
|
@ -47,8 +41,8 @@ mod utmpx {
|
|||
pub ut_user: [libc::c_char; UT_NAMESIZE],
|
||||
pub ut_host: [libc::c_char; UT_HOSTSIZE],
|
||||
pub ut_exit: c_exit_status,
|
||||
pub ut_session: libc::int32_t,
|
||||
pub ut_tv: timeval,
|
||||
pub ut_session: libc::c_long,
|
||||
pub ut_tv: libc::timeval,
|
||||
|
||||
pub ut_addr_v6: [libc::int32_t; 4],
|
||||
pub __unused: [libc::c_char; 20],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue