Skip to content

Commit

Permalink
Make FD_ISSET's argument a pointer to const, to match the libc declar…
Browse files Browse the repository at this point in the history
…ation.
  • Loading branch information
sunfishcode committed Apr 23, 2019
1 parent 6b524b3 commit a625c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wasi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ extern {
pub fn uselocale(loc: ::locale_t) -> ::locale_t;

pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> ();
pub fn FD_ISSET(fd: ::c_int, set: *mut fd_set) -> bool;
pub fn FD_ISSET(fd: ::c_int, set: *const fd_set) -> bool;
pub fn FD_SET(fd: ::c_int, set: *mut fd_set) -> ();
pub fn FD_ZERO(set: *mut fd_set) -> ();

Expand Down

0 comments on commit a625c69

Please sign in to comment.