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 | ed54d31d6c75cf8021efe7a50cd8ef7c10c5cfb2 (patch) | |
| tree | 816ef7c640e729eeb44447211cb3be2071ee86c6 /util.h | |
| parent | 3d9e76cd03c116687d1a12243a4ff47c0cdb3aec (diff) | |
| download | ruby-ed54d31d6c75cf8021efe7a50cd8ef7c10c5cfb2.tar.gz ruby-ed54d31d6c75cf8021efe7a50cd8ef7c10c5cfb2.tar.xz ruby-ed54d31d6c75cf8021efe7a50cd8ef7c10c5cfb2.zip | |
* 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: http://svn.ruby-lang.org/repos/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*); |
