summaryrefslogtreecommitdiffstats
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
commitddee93436d1ee2156d97f2edeba657e587cb7518 (patch)
treeb9c634f353170ea1bc57c26435b78218a86857df /struct.c
parentc74be7e1a2664ad92a5000d519ef31d75838fda0 (diff)
downloadruby-ddee93436d1ee2156d97f2edeba657e587cb7518.tar.gz
ruby-ddee93436d1ee2156d97f2edeba657e587cb7518.tar.xz
ruby-ddee93436d1ee2156d97f2edeba657e587cb7518.zip
* struct.c (struct_entry): add prototype to avoid VC++ warnings.
git-svn-id: http://svn.ruby-lang.org/repos/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 32ea8f525..474b267cf 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;