Make FD_ISSET's argument a pointer to const, to match the libc declaration.

This commit is contained in:
Dan Gohman 2019-04-19 13:04:27 -07:00
parent 6b524b36c8
commit a625c69544

View File

@ -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) -> ();