intern/select/posix.h: remove unused parameter from rb_fd_dup
This unused parameter seems to be accidently introduced by https://github.com/ruby/ruby/commit/9e6e39c
This commit is contained in:
parent
e5ff030f60
commit
ecb2ff6050
Notes:
git
2021-12-11 02:23:58 +09:00
@ -95,11 +95,10 @@ RBIMPL_ATTR_NOALIAS()
|
|||||||
*
|
*
|
||||||
* @param[out] dst Target fdset.
|
* @param[out] dst Target fdset.
|
||||||
* @param[in] src Source fdset.
|
* @param[in] src Source fdset.
|
||||||
* @param[in] n Unused parameter.
|
|
||||||
* @post `dst` is a copy of `src`.
|
* @post `dst` is a copy of `src`.
|
||||||
*/
|
*/
|
||||||
static inline void
|
static inline void
|
||||||
rb_fd_dup(rb_fdset_t *dst, const fd_set *src, int n)
|
rb_fd_dup(rb_fdset_t *dst, const fd_set *src)
|
||||||
{
|
{
|
||||||
*dst = *src;
|
*dst = *src;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user