summaryrefslogtreecommitdiff
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
commit6961f8becccc21f21e188aac5efa382a211e3c6a (patch)
treef340f2bf5ac3fcbb97da73b28e2c319859995c72 /ext
parent9c04a0647fb99f7554cb2e04385ddbb970631e02 (diff)
* ext/dl/test/test_import.rb: fix a prototype decl.
pointed out by Takehiro Kubo [ruby-core:20971]. git-svn-id: svn+ssh://ci.ruby-lang.org/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 6d493a6d23..8514f8298e 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