summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'version.c')
-rw-r--r--version.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/version.c b/version.c
index dba5f6c..26ef8d0 100644
--- a/version.c
+++ b/version.c
@@ -7,7 +7,7 @@
$Date: 1995/01/12 08:54:54 $
created at: Thu Sep 30 20:08:01 JST 1993
- Copyright (C) 1993-1995 Yukihiro Matsumoto
+ Copyright (C) 1993-1996 Yukihiro Matsumoto
************************************************/
@@ -20,18 +20,18 @@ extern VALUE cKernel;
void
Init_version()
{
- rb_define_const(cKernel, "VERSION", str_new2(RUBY_VERSION));
+ rb_define_global_const("VERSION", str_new2(RUBY_VERSION));
}
void
show_version()
{
- fprintf(stderr, "ruby - version %s (%s)\n", RUBY_VERSION, VERSION_DATE);
+ fprintf(stderr, "ruby - version %s\n", RUBY_VERSION, VERSION_DATE);
}
void
show_copyright()
{
- fprintf(stderr, "ruby - Copyright (C) 1993-1995 Yukihiro Matsumoto\n");
+ fprintf(stderr, "ruby - Copyright (C) 1993-1996 Yukihiro Matsumoto\n");
exit(0);
}