summaryrefslogtreecommitdiff
path: root/intern.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-18 06:22:28 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-18 06:22:28 +0000
commit9d6e1cdb73e59ac188fa10a35cbc8a11f1d2a4d7 (patch)
treedd396cbf8cf1ddda56b0f938ca19578f6282e1de /intern.h
parentddbebabd25dd8031bda5e31f061b89433c72b9e3 (diff)
* 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
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern.h b/intern.h
index e393e0b940..04fbf7f113 100644
--- a/intern.h
+++ b/intern.h
@@ -20,6 +20,7 @@
#else
# include <varargs.h>
#endif
+#include <st.h>
/*
* 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);