summaryrefslogtreecommitdiff
path: root/ext/dl/sample/libc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/sample/libc.rb')
-rw-r--r--ext/dl/sample/libc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/sample/libc.rb b/ext/dl/sample/libc.rb
index 32816fd331..a1f6fbe543 100644
--- a/ext/dl/sample/libc.rb
+++ b/ext/dl/sample/libc.rb
@@ -39,7 +39,7 @@ module LIBC
def my_compare(ptr1, ptr2)
ptr1.ptr.to_s <=> ptr2.ptr.to_s
end
- COMPARE = callback "int my_compare(char**, char**)"
+ COMPARE = callback("int my_compare(char**, char**)")
end