Skip to content

Commit 23c8815

Browse files
committed
chore: wip
1 parent b5cc9ed commit 23c8815

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

src/unix/aix/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ s! {
121121
pub l_sysid: c_uint,
122122
pub l_pid: crate::pid_t,
123123
pub l_vfs: c_int,
124-
pub l_start: off_t,
125-
pub l_len: off_t,
124+
pub l_start: off64_t,
125+
pub l_len: off64_t,
126126
}
127127

128128
pub struct msghdr {
@@ -485,7 +485,7 @@ s! {
485485
pub st_type: c_uint,
486486
pub st_gen: c_uint,
487487
st_reserved: Padding<[c_uint; 10]>,
488-
pub st_size: off_t,
488+
pub st_size: off64_t,
489489
}
490490

491491
pub struct mntent {

src/unix/aix/powerpc64.rs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,6 @@ s! {
3636
dbg_flags: c_int,
3737
}
3838

39-
pub struct _simple_lock {
40-
_slock: simple_lock_data,
41-
_slockp: *mut lock_data_instrumented,
42-
}
43-
44-
pub struct _complex_lock {
45-
_clock: complex_lock_data,
46-
clockp: *mut lock_data_instrumented,
47-
}
48-
49-
pub struct _drw_lock {
50-
_drwlock: complex_lock_status,
51-
_drwlockp: *mut lock_data_instrumented,
52-
}
53-
5439
pub struct __c_anonymous__lockname__lock_id {
5540
_id: c_uint,
5641
ocurrence: c_uint,
@@ -350,6 +335,21 @@ impl siginfo_t {
350335
}
351336

352337
s_no_extra_traits! {
338+
pub union _simple_lock {
339+
_slock: simple_lock_data,
340+
_slockp: *mut lock_data_instrumented,
341+
}
342+
343+
pub union _complex_lock {
344+
_clock: complex_lock_data,
345+
clockp: *mut lock_data_instrumented,
346+
}
347+
348+
pub union _drw_lock {
349+
_drwlock: complex_lock_status,
350+
_drwlockp: *mut lock_data_instrumented,
351+
}
352+
353353
pub union __c_anonymous_lock_data_instrumented_lock_control_word {
354354
s_lock: simple_lock_data,
355355
c_lock: complex_lock_data,

0 commit comments

Comments
 (0)