about summary refs log tree commit homepage
path: root/test/test_posix_mq.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_posix_mq.rb')
-rw-r--r--test/test_posix_mq.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_posix_mq.rb b/test/test_posix_mq.rb
index d48238c..5c7cc11 100644
--- a/test/test_posix_mq.rb
+++ b/test/test_posix_mq.rb
@@ -110,7 +110,7 @@ class Test_POSIX_MQ < Test::Unit::TestCase
       if defined?(DL::Function)
         alarm = libc["alarm"]
         alarm = DL::CFunc.new(alarm, DL::TYPE_INT, "alarm")
-        alarm = DL::Function.new(alarm, [DL::TYPE_INT], DL::TYPE_INT)
+        alarm = DL::Function.new(alarm, [DL::TYPE_INT])
       else
         alarm = libc["alarm", "II"]
       end