Skip to content

Commit 7d57f03

Browse files
authored
Update redox.rs
1 parent 800d799 commit 7d57f03

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/redox.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ pub const STDERR_FILENO: ::c_int = 2;
5454

5555
extern {
5656
pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void;
57-
pub fn read(fd: ::c_int, buf: *mut ::c_void, count: ::size_t) -> ::ssize_t;
58-
pub fn write(fd: ::c_int, buf: *const ::c_void, count: ::size_t) -> ::ssize_t;
57+
pub fn read(fd: ::c_int, buf: *mut ::c_void, count: ::size_t)
58+
-> ::ssize_t;
59+
pub fn write(fd: ::c_int, buf: *const ::c_void, count: ::size_t)
60+
-> ::ssize_t;
5961
}
6062

6163
#[link(name = "c")]

0 commit comments

Comments
 (0)