diff --git a/ChangeLog b/ChangeLog index b3cd1585fa..208e54e674 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Sep 26 16:26:44 2009 Nobuyoshi Nakada + + * include/ruby/intern.h (rb_hash_{start,uint32,uint,end}): fixed + prototypes. + Sat Sep 26 13:26:55 2009 Marc-Andre Lafortune * lib/net/http.rb (transport_request): Handle timeout error by diff --git a/include/ruby/intern.h b/include/ruby/intern.h index d0e321303e..e01e2d36ff 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -635,10 +635,10 @@ VALUE rb_str_cat2(VALUE, const char*); VALUE rb_str_append(VALUE, VALUE); VALUE rb_str_concat(VALUE, VALUE); st_index_t rb_memhash(const void *ptr, long len); -VALUE rb_hash_start(VALUE); -VALUE rb_hash_uint32(VALUE, unsigned int); -VALUE rb_hash_uint(VALUE, VALUE); -VALUE rb_hash_end(VALUE); +st_index_t rb_hash_start(st_index_t); +st_index_t rb_hash_uint32(st_index_t, uint32_t); +st_index_t rb_hash_uint(st_index_t, st_index_t); +st_index_t rb_hash_end(st_index_t); st_index_t rb_str_hash(VALUE); int rb_str_hash_cmp(VALUE,VALUE); int rb_str_comparable(VALUE, VALUE);