From 9d6e1cdb73e59ac188fa10a35cbc8a11f1d2a4d7 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 18 Jul 2006 06:22:28 +0000 Subject: * intern.h (st_foreach_safe): fix prototype. * node.h (NODE_LMASK): bigger than long on LLP64. * missing/vsnprintf.c (BSD__uqtoa): new function to support LLP64. all changes are derived from [ruby-dev:29045] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- intern.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'intern.h') diff --git a/intern.h b/intern.h index e393e0b940..04fbf7f113 100644 --- a/intern.h +++ b/intern.h @@ -20,6 +20,7 @@ #else # include #endif +#include /* * Functions and variables that are used by more than one source file of @@ -314,7 +315,7 @@ VALUE rb_gc_enable(void); VALUE rb_gc_disable(void); VALUE rb_gc_start(void); /* hash.c */ -void st_foreach_safe(struct st_table *, int (*)(ANYARGS), unsigned long); +void st_foreach_safe(struct st_table *, int (*)(ANYARGS), st_data_t); void rb_hash_foreach(VALUE, int (*)(ANYARGS), VALUE); VALUE rb_hash(VALUE); VALUE rb_hash_new(void); -- cgit v1.2.3