summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--include/ruby/ruby.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 08b23546d74..e6080477037 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Sep 19 00:02:19 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * include/ruby/ruby.h (rb_type): forward declaration to suppress a
+ warning. a patch from Naohisa Goto at [ruby-dev:39350]
+
Fri Sep 18 23:59:27 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dir.c (GlobPathValue): adjust return types. based on a patch
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 2d6ba66e5cb..8fc1eb0f03f 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -384,6 +384,7 @@ enum ruby_value_type {
#define BUILTIN_TYPE(x) (int)(((struct RBasic*)(x))->flags & T_MASK)
+static inline int rb_type(VALUE obj);
#define TYPE(x) rb_type((VALUE)(x))
#define RB_GC_GUARD(v) (*(volatile VALUE *)&(v))