From dbb2e33eef72ffd720f83a312655918307546833 Mon Sep 17 00:00:00 2001 From: usa Date: Sat, 12 Jul 2003 08:02:26 +0000 Subject: * 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 --- struct.c | 1 + 1 file changed, 1 insertion(+) (limited to 'struct.c') 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; -- cgit v1.2.3