Skip to content

Commit e9c1ade

Browse files
committed
libc::c_int -> ::c_int
1 parent 4fc38ca commit e9c1ade

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/unix/haiku/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ extern {
12671267
pub fn setrlimit(resource: ::c_int, rlim: *const ::rlimit) -> ::c_int;
12681268
pub fn strerror_r(errnum: ::c_int, buf: *mut c_char,
12691269
buflen: ::size_t) -> ::c_int;
1270-
pub fn _errnop() -> *mut libc::c_int;
1270+
pub fn _errnop() -> *mut ::c_int;
12711271

12721272
pub fn abs(i: ::c_int) -> ::c_int;
12731273
pub fn atof(s: *const ::c_char) -> ::c_double;

src/unix/redox/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ extern {
539539

540540
pub fn strerror_r(errnum: ::c_int, buf: *mut c_char,
541541
buflen: ::size_t) -> ::c_int;
542-
pub fn __errno_location() -> *mut libc::c_int;
542+
pub fn __errno_location() -> *mut ::c_int;
543543

544544
// malloc.h
545545
pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void;

0 commit comments

Comments
 (0)