@@ -214,8 +214,7 @@ def self.attach_function_eagerly(native_name, argument_types, return_type,
214
214
attach_function :open , [ :string , :int , varargs ( :mode_t ) ] , :int
215
215
attach_function :opendir , [ :string ] , :pointer
216
216
attach_function :pipe , [ :pointer ] , :int
217
- poll_args = [ :pointer , :long , :int ]
218
- attach_function :poll , poll_args , :int , LIBC , true
217
+ attach_function :poll , [ :pointer , :long , :int ] , :int , LIBC , true
219
218
attach_function :read , [ :int , :pointer , :size_t ] , :ssize_t , LIBC , true
220
219
attach_function :readlink , [ :string , :pointer , :size_t ] , :ssize_t
221
220
attach_function :realpath , [ :string , :pointer ] , :pointer
@@ -243,9 +242,6 @@ def self.attach_function_eagerly(native_name, argument_types, return_type,
243
242
# We should capture the non-lazy method
244
243
attach_function_eagerly :truffleposix_select , select_args , :int , LIBTRUFFLEPOSIX , false , :truffleposix_select , self
245
244
SELECT = method ( :truffleposix_select )
246
-
247
- attach_function_eagerly :poll , poll_args , :int , LIBC , true , :poll , self
248
- POLL = method ( :poll )
249
245
end
250
246
end
251
247
0 commit comments