libc-rs/src/vxworks
Daniil Bondarev 773f5562ba Use safe_f! consistently across platforms
The pr #1870 introduced safe_f! macro, which made some functions like
WIFEXITED and WEXITSTATUS const and safe on linux_like platform only,
which causes inconsistency when trying to use those functions in crates
compiled across multiple platforms, as using unsafe on those functions
will generate unused_unsafe warning on linux platforms and lack of
unsafe block will fail compilation on non-linux platforms.

To avoid the inconsistency, this commit applies the same macro for all
the same functions on other platforms too.
2020-09-12 23:38:06 -07:00
..
aarch64.rs fix problems found in testing 2019-09-13 14:56:00 -07:00
arm.rs fix problems found in testing 2019-09-13 14:56:00 -07:00
mod.rs Use safe_f! consistently across platforms 2020-09-12 23:38:06 -07:00
powerpc.rs fix problems found in testing 2019-09-13 14:56:00 -07:00
powerpc64.rs fix problems found in testing 2019-09-13 14:56:00 -07:00
x86.rs fix problems found in testing 2019-09-13 14:56:00 -07:00
x86_64.rs fix problems found in testing 2019-09-13 14:56:00 -07:00