summaryrefslogtreecommitdiff
path: root/struct.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-12 08:02:26 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-12 08:02:26 +0000
commitdbb2e33eef72ffd720f83a312655918307546833 (patch)
treeb9c634f353170ea1bc57c26435b78218a86857df /struct.c
parenta706d6ddac4d79e20621e97ee83ad8ef919aebe6 (diff)
* struct.c (struct_entry): add prototype to avoid VC++ warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/struct.c b/struct.c
index 32ea8f525c..474b267cf2 100644
--- a/struct.c
+++ b/struct.c
@@ -517,6 +517,7 @@ rb_struct_aset(s, idx, val)
return RSTRUCT(s)->ptr[i] = val;
}
+static VALUE struct_entry _((VALUE, long));
static VALUE
struct_entry(s, n)
VALUE s;