File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/unix/bsd/netbsdlike/openbsd Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1402,11 +1402,7 @@ fn _ALIGN(p: usize) -> usize {
1402
1402
}
1403
1403
1404
1404
f ! {
1405
- pub { const } fn WIFCONTINUED ( status: :: c_int) -> bool {
1406
- status & 0o177777 == 0o177777
1407
- }
1408
-
1409
- pub fn CMSG_DATA ( cmsg: * const :: cmsghdr) -> * mut :: c_uchar {
1405
+ pub fn CMSG_DATA ( cmsg: * const :: cmsghdr) -> * mut :: c_uchar {
1410
1406
( cmsg as * mut :: c_uchar)
1411
1407
. offset( _ALIGN( :: mem:: size_of:: <:: cmsghdr>( ) ) as isize )
1412
1408
}
@@ -1451,6 +1447,10 @@ safe_f! {
1451
1447
pub { const } fn WIFSTOPPED ( status: :: c_int) -> bool {
1452
1448
( status & 0xff ) == 0o177
1453
1449
}
1450
+
1451
+ pub { const } fn WIFCONTINUED ( status: :: c_int) -> bool {
1452
+ ( status & 0o177777 ) == 0o177777
1453
+ }
1454
1454
}
1455
1455
1456
1456
extern "C" {
You can’t perform that action at this time.
0 commit comments