diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-12 08:02:26 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-12 08:02:26 +0000 |
commit | ddee93436d1ee2156d97f2edeba657e587cb7518 (patch) | |
tree | b9c634f353170ea1bc57c26435b78218a86857df /struct.c | |
parent | c74be7e1a2664ad92a5000d519ef31d75838fda0 (diff) | |
download | ruby-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |