* 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
This commit is contained in:
usa 2003-07-12 08:02:26 +00:00
parent a706d6ddac
commit dbb2e33eef
3 changed files with 15 additions and 10 deletions

View File

@ -1,3 +1,7 @@
Sat Jul 12 17:01:28 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* struct.c (struct_entry): add prototype to avoid VC++ warnings.
Sat Jul 12 04:43:57 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net>
* ext/syck/emitter.c: new emitter code.

View File

@ -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;

View File

@ -1,11 +1,11 @@
#define RUBY_VERSION "1.8.0"
#define RUBY_RELEASE_DATE "2003-07-11"
#define RUBY_RELEASE_DATE "2003-07-12"
#define RUBY_VERSION_CODE 180
#define RUBY_RELEASE_CODE 20030711
#define RUBY_RELEASE_CODE 20030712
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8
#define RUBY_VERSION_TEENY 0
#define RUBY_RELEASE_YEAR 2003
#define RUBY_RELEASE_MONTH 7
#define RUBY_RELEASE_DAY 11
#define RUBY_RELEASE_DAY 12