1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* common.mk, hash.c: remove unused inclusion.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2008-09-23 06:34:33 +00:00
parent 7440ec27fd
commit 23c291da09
3 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Tue Sep 23 15:30:53 2008 Koichi Sasada <ko1@atdot.net>
* common.mk, hash.c: remove unused inclusion.
Tue Sep 23 09:52:07 2008 Koichi Sasada <ko1@atdot.net>
* eval_safe.c, safe.c: rename eval_safe.c to safe.c.

View file

@ -473,8 +473,7 @@ gc.$(OBJEXT): {$(VPATH)}gc.c $(RUBY_H_INCLUDES) \
{$(VPATH)}re.h {$(VPATH)}regex.h \
$(ENCODING_H_INCLDUES) $(VM_CORE_H_INCLUDES) \
{$(VPATH)}gc.h {$(VPATH)}io.h {$(VPATH)}eval_intern.h {$(VPATH)}util.h
hash.$(OBJEXT): {$(VPATH)}hash.c $(RUBY_H_INCLUDES) {$(VPATH)}util.h \
{$(VPATH)}eval_intern.h $(VM_CORE_H_INCLUDES)
hash.$(OBJEXT): {$(VPATH)}hash.c $(RUBY_H_INCLUDES) {$(VPATH)}util.h
inits.$(OBJEXT): {$(VPATH)}inits.c $(RUBY_H_INCLUDES)
io.$(OBJEXT): {$(VPATH)}io.c $(RUBY_H_INCLUDES) {$(VPATH)}io.h \
{$(VPATH)}util.h $(VM_CORE_H_INCLUDES) $(ENCODING_H_INCLDUES)

3
hash.c
View file

@ -11,7 +11,6 @@
**********************************************************************/
#include "eval_intern.h"
#include "ruby/ruby.h"
#include "ruby/st.h"
#include "ruby/util.h"
@ -626,6 +625,8 @@ rb_hash_default_proc(VALUE hash)
* h["cat"] #=> "catcat"
*/
VALUE rb_obj_is_proc(VALUE proc);
static VALUE
rb_hash_set_default_proc(VALUE hash, VALUE proc)
{