diff options
author | Yuta Saito <[email protected]> | 2021-12-11 00:51:41 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2021-12-11 02:23:30 +0900 |
commit | ecb2ff60507a41c624f59cb9da6a008ab3ec36e1 (patch) | |
tree | dd3a1c7535903b9ba5c9d08ac8304ad54eb0d1df /include/ruby | |
parent | e5ff030f60af24e256e5671af9133b6d274ee6f0 (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')
-rw-r--r-- | include/ruby/internal/intern/select/posix.h | 3 |
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; } |