Skip to content

Commit

Permalink
* common.mk, hash.c: remove unused inclusion.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
ko1 committed Sep 23, 2008
1 parent 7440ec2 commit 23c291d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 1 addition & 2 deletions common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
**********************************************************************/

#include "eval_intern.h"
#include "ruby/ruby.h"
#include "ruby/st.h"
#include "ruby/util.h"
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 23c291d

Please sign in to comment.