diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-11 12:30:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-11 12:30:48 +0000 |
commit | 1b03efee58ee4c825b278a7bcb4ac80e41e7c18a (patch) | |
tree | 816ef7c640e729eeb44447211cb3be2071ee86c6 /util.h | |
parent | 32f264bfef9ef6eb96c791ee33ffad8d5e461578 (diff) | |
download | ruby-1b03efee58ee4c825b278a7bcb4ac80e41e7c18a.tar.gz |
* array.c, enum.c, eval.c, util.c: safer function pointer usage.
fixed: [ruby-core:06143]
* util.h (qsort): removed the definition incompatible to ANSI.
fixed: [ruby-core:06147]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -43,8 +43,7 @@ unsigned long scan_hex(const char*, int, int*); void ruby_add_suffix(VALUE str, char *suffix); #endif -void ruby_qsort(void*, const int, const int, int (*)(), void*); -#define qsort(b,n,s,c,d) ruby_qsort(b,n,s,c,d) +void ruby_qsort(void*, const int, const int, int (*)(const void*,const void*,void*), void*); void ruby_setenv(const char*, const char*); void ruby_unsetenv(const char*); |