summaryrefslogtreecommitdiffstats
path: root/ext/dl/test
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-30 11:05:14 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-30 11:05:14 +0000
commit189ffae6f215cc2c7141ec2486277a23853965a8 (patch)
tree23d266e9385514dfc7d8c65310b02df0d5d4399a /ext/dl/test
parent7f7003a2301f7517aa8c9daf946a549267e202d7 (diff)
merges r21186 from trunk into ruby_1_9_1.
* ext/dl/test/test_import.rb: fix a prototype decl. pointed out by Takehiro Kubo [ruby-core:20971]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/test')
-rw-r--r--ext/dl/test/test_import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/test/test_import.rb b/ext/dl/test/test_import.rb
index 6d493a6d2..8514f8298 100644
--- a/ext/dl/test/test_import.rb
+++ b/ext/dl/test/test_import.rb
@@ -13,7 +13,7 @@ module DL
extern "int isdigit(int)"
extern "double atof(string)"
extern "unsigned long strtoul(char*, char **, int)"
- extern "int qsort(void*, int, int, void*)"
+ extern "int qsort(void*, unsigned long, unsigned long, void*)"
extern "int fprintf(FILE*, char*)"
extern "int gettimeofday(timeval*, timezone*)" rescue nil