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:
Yuta Saito 2021-12-11 00:51:41 +09:00 committed by Yusuke Endoh
parent e5ff030f60
commit ecb2ff6050
Notes: git 2021-12-11 02:23:58 +09:00

View File

@ -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;
} }