File tree 1 file changed +6
-0
lines changed
src/librustc_data_structures
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ mod imp {
31
31
mod os {
32
32
use libc;
33
33
34
+ #[ repr( C ) ]
34
35
pub struct flock {
35
36
pub l_type : libc:: c_short ,
36
37
pub l_whence : libc:: c_short ,
@@ -53,6 +54,7 @@ mod imp {
53
54
mod os {
54
55
use libc;
55
56
57
+ #[ repr( C ) ]
56
58
pub struct flock {
57
59
pub l_start : libc:: off_t ,
58
60
pub l_len : libc:: off_t ,
@@ -76,6 +78,7 @@ mod imp {
76
78
mod os {
77
79
use libc;
78
80
81
+ #[ repr( C ) ]
79
82
pub struct flock {
80
83
pub l_start : libc:: off_t ,
81
84
pub l_len : libc:: off_t ,
@@ -98,6 +101,7 @@ mod imp {
98
101
mod os {
99
102
use libc;
100
103
104
+ #[ repr( C ) ]
101
105
pub struct flock {
102
106
pub l_type : libc:: c_short ,
103
107
pub l_whence : libc:: c_short ,
@@ -119,6 +123,7 @@ mod imp {
119
123
mod os {
120
124
use libc;
121
125
126
+ #[ repr( C ) ]
122
127
pub struct flock {
123
128
pub l_start : libc:: off_t ,
124
129
pub l_len : libc:: off_t ,
@@ -141,6 +146,7 @@ mod imp {
141
146
mod os {
142
147
use libc;
143
148
149
+ #[ repr( C ) ]
144
150
pub struct flock {
145
151
pub l_type : libc:: c_short ,
146
152
pub l_whence : libc:: c_short ,
You can’t perform that action at this time.
0 commit comments