Skip to content

Commit f25ae98

Browse files
committed
Fix style issues
1 parent 0c92066 commit f25ae98

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

src/unix/newlib/aarch64/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
pub use crate::unix::newlib::generic::{sigset_t, stat};
2-
31
pub type clock_t = ::c_long;
42
pub type c_char = u8;
53
pub type wchar_t = u32;
@@ -52,3 +50,5 @@ pub const MSG_DONTROUTE: ::c_int = 0;
5250
pub const MSG_WAITALL: ::c_int = 0;
5351
pub const MSG_MORE: ::c_int = 0;
5452
pub const MSG_NOSIGNAL: ::c_int = 0;
53+
54+
pub use crate::unix::newlib::generic::{sigset_t, stat};

src/unix/newlib/arm/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
pub use crate::unix::newlib::generic::{sigset_t, stat};
2-
31
pub type clock_t = ::c_long;
42
pub type c_char = u8;
53
pub type wchar_t = u32;
@@ -54,3 +52,5 @@ pub const MSG_DONTROUTE: ::c_int = 0;
5452
pub const MSG_WAITALL: ::c_int = 0;
5553
pub const MSG_MORE: ::c_int = 0;
5654
pub const MSG_NOSIGNAL: ::c_int = 0;
55+
56+
pub use crate::unix::newlib::generic::{sigset_t, stat};

src/unix/newlib/espidf/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
pub use crate::unix::newlib::generic::{sigset_t, stat};
2-
31
pub type clock_t = ::c_ulong;
42
pub type c_char = i8;
53
pub type wchar_t = u32;
@@ -103,3 +101,5 @@ extern "C" {
103101
#[link_name = "lwip_recvmsg"]
104102
pub fn recvmsg(s: ::c_int, msg: *mut ::msghdr, flags: ::c_int) -> ::ssize_t;
105103
}
104+
105+
pub use crate::unix::newlib::generic::{sigset_t, stat};

src/unix/newlib/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ s! {
139139
pub tm_isdst: ::c_int,
140140
}
141141

142-
143142
pub struct statvfs {
144143
pub f_bsize: ::c_ulong,
145144
pub f_frsize: ::c_ulong,

src/unix/newlib/powerpc/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
pub use crate::unix::newlib::generic::{sigset_t, stat};
2-
31
pub type clock_t = ::c_ulong;
42
pub type c_char = u8;
53
pub type wchar_t = ::c_int;
64

75
pub type c_long = i32;
86
pub type c_ulong = u32;
97

8+
pub use crate::unix::newlib::generic::{sigset_t, stat};
9+
1010
// the newlib shipped with devkitPPC does not support the following components:
1111
// - sockaddr
1212
// - AF_INET6

0 commit comments

Comments
 (0)