diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/dl/test/test_import.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Dec 30 17:03:51 2008 Koichi Sasada <ko1@atdot.net> + + * ext/dl/test/test_import.rb: fix a prototype decl. + pointed out by Takehiro Kubo [ruby-core:20971]. + Tue Dec 30 16:56:09 2008 Koichi Sasada <ko1@atdot.net> * thread.c (rb_thread_blocking_region): add a comment. 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 |