summaryrefslogtreecommitdiff
path: root/Ports/ruby/patches/posix.patch
blob: 53cd1fbe69fe630b10091344ad55518d4247e069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- ruby-3.0.2/include/ruby/internal/intern/select/posix.h
+++ ruby-3.0.2/include/ruby/internal/intern/select/posix.h
@@ -55,7 +55,7 @@ rb_fd_copy(rb_fdset_t *dst, const fd_set *src, int n)
 }

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