Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #1993 - kolapapa:uclibc-dnslookup, r=JohnTitor
restore the type of the parameter `flags` of `getnameinfo` to `c_int` Restore the type of the parameter `flags` of `getnameinfo` to `c_int` At present, all the implementation parameters of `getnameinfo` `flags` are of type `int`, and some constants defined are also of type `int`. I have seen the implementation of uclibc. The `flags` values are basically macro definitions, so should we not do this by uclibc alone kind of special treatment. These several places also define the `int` type. https://github.com/rust-lang/libc/blob/master/src/unix/uclibc/mod.rs#L1375
- Loading branch information