summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-30 08:05:06 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-30 08:05:06 +0000
commitde58de3da7200531735ea7acd9c424d4cf15dded (patch)
treef340f2bf5ac3fcbb97da73b28e2c319859995c72 /ext
parent5fc8fd3c87722c5cf032acfdd2bce417ff24c621 (diff)
downloadruby-de58de3da7200531735ea7acd9c424d4cf15dded.tar.gz
ruby-de58de3da7200531735ea7acd9c424d4cf15dded.tar.xz
ruby-de58de3da7200531735ea7acd9c424d4cf15dded.zip
* 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/trunk@21186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-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