Skip to content

Commit a625c69

Browse files
committed
Make FD_ISSET's argument a pointer to const, to match the libc declaration.
1 parent 6b524b3 commit a625c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wasi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ extern {
10531053
pub fn uselocale(loc: ::locale_t) -> ::locale_t;
10541054

10551055
pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> ();
1056-
pub fn FD_ISSET(fd: ::c_int, set: *mut fd_set) -> bool;
1056+
pub fn FD_ISSET(fd: ::c_int, set: *const fd_set) -> bool;
10571057
pub fn FD_SET(fd: ::c_int, set: *mut fd_set) -> ();
10581058
pub fn FD_ZERO(set: *mut fd_set) -> ();
10591059

0 commit comments

Comments
 (0)