summaryrefslogtreecommitdiff
path: root/include/ruby/internal/intern/select/posix.h
diff options
context:
space:
mode:
authorYuta Saito <kateinoigakukun@gmail.com>2021-12-11 00:51:41 +0900
committerYusuke Endoh <mame@ruby-lang.org>2021-12-11 02:23:30 +0900
commitecb2ff60507a41c624f59cb9da6a008ab3ec36e1 (patch)
treedd3a1c7535903b9ba5c9d08ac8304ad54eb0d1df /include/ruby/internal/intern/select/posix.h
parente5ff030f60af24e256e5671af9133b6d274ee6f0 (diff)
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
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5241
Diffstat (limited to 'include/ruby/internal/intern/select/posix.h')
-rw-r--r--include/ruby/internal/intern/select/posix.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ruby/internal/intern/select/posix.h b/include/ruby/internal/intern/select/posix.h
index bfde159890..5f828e66e2 100644
--- a/include/ruby/internal/intern/select/posix.h
+++ b/include/ruby/internal/intern/select/posix.h
@@ -95,11 +95,10 @@ RBIMPL_ATTR_NOALIAS()
*
* @param[out] dst Target fdset.
* @param[in] src Source fdset.
- * @param[in] n Unused parameter.
* @post `dst` is a copy of `src`.
*/
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;
}