mrb_hash_delete_key(), mrb_hash_keys() : Declare as static.

mrb_check_hash_type(): Remove as no implementation.
This commit is contained in:
Masaki Muranaka
2012-07-29 20:11:43 +09:00
parent 0584874e59
commit 22b032fcdf
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -488,7 +488,7 @@ mrb_hash_set_default_proc(mrb_state *mrb, mrb_value hash)
return ifnone;
}
mrb_value
static mrb_value
mrb_hash_delete_key(mrb_state *mrb, mrb_value hash, mrb_value key)
{
khash_t(ht) *h = RHASH_TBL(hash);
@@ -965,7 +965,7 @@ mrb_hash_to_hash(mrb_state *mrb, mrb_value hash)
*
*/
mrb_value
static mrb_value
mrb_hash_keys(mrb_state *mrb, mrb_value hash)
{
khash_t(ht) *h = RHASH_TBL(hash);