diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-04 08:27:19 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-04 08:27:19 +0000 |
commit | a7028afec0bc880372b7e6b307cbf05b2be6a540 (patch) | |
tree | 6e52382d4423facf5329c9c57b16b15d979effb6 /yarvcore.c | |
parent | 74909a2d68682e32a8e18f1ace26c5e6b913a170 (diff) | |
download | ruby-a7028afec0bc880372b7e6b307cbf05b2be6a540.tar.gz |
* yarv_version.h : removed.
* common.mk : remove yarv_version.h from rules
* yarvcore.h (Init_yarvcore) : remove useless constants
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvcore.c')
-rw-r--r-- | yarvcore.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/yarvcore.c b/yarvcore.c index eb4e1a91e5..d6b59c527d 100644 --- a/yarvcore.c +++ b/yarvcore.c @@ -13,7 +13,6 @@ #include "ruby.h" #include "node.h" -#include "yarv_version.h" #include "yarvcore.h" #include "yarv.h" #include "gc.h" @@ -891,19 +890,8 @@ void Init_ISeq(void); void Init_yarvcore(void) { - const char *rev = "$Rev:$"; - const char *date = "$Date:$"; - - snprintf(yarv_version, 0x20, "YARVCore %d.%d.%d", - MAJOR_VER, MINOR_VER, DEVEL_VER); - /* declare YARVCore module */ mYarvCore = rb_define_module("YARVCore"); - rb_define_const(mYarvCore, "VERSION", rb_str_new2(yarv_version)); - rb_define_const(mYarvCore, "MAJOR", INT2FIX(MAJOR_VER)); - rb_define_const(mYarvCore, "MINOR", INT2FIX(MINOR_VER)); - rb_define_const(mYarvCore, "REV", rb_str_new2(rev)); - rb_define_const(mYarvCore, "DATE", rb_str_new2(date)); rb_define_const(mYarvCore, "OPTS", rb_str_new2(yarv_options)); Init_ISeq(); |