summaryrefslogtreecommitdiffstats
path: root/ext/dl/sample
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-16 17:47:19 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-16 17:47:19 +0000
commit9246a73c21dab6031e8036b3ebaa3b943d2119d1 (patch)
treea700e3fe92165180b04451746f9c4fda4f038289 /ext/dl/sample
parentd9a34753f78b8db5115b10bb1df137a16c4c90cf (diff)
downloadruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.tar.gz
ruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.tar.xz
ruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.zip
consistent parentheses in assignment RHS.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/sample')
-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 32816fd33..a1f6fbe54 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