summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-14 02:53:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-14 02:53:53 +0000
commit921d595fd4d1115e5cdccaaa2e68703fc8282436 (patch)
tree48b6b3c928bcec04314b322a1dddf7dafe6c473e
parent839ef7bfbb446db531983e391a52df4e4a0eb8aa (diff)
* intern.h (ruby_stop): never return.
* ruby.h (ruby_run): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--intern.h2
-rw-r--r--ruby.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ad21f14..1d90d77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Oct 14 11:53:49 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * intern.h (ruby_stop): never return.
+
+ * ruby.h (ruby_run): ditto.
+
Tue Oct 14 04:43:55 2003 Tanaka Akira <akr@m17n.org>
* lib/pathname.rb (realpath): make ELOOP check bit more robust.
diff --git a/intern.h b/intern.h
index 9562f00..3aa96e5 100644
--- a/intern.h
+++ b/intern.h
@@ -187,7 +187,7 @@ void rb_set_end_proc _((void (*)(VALUE), VALUE));
void rb_mark_end_proc _((void));
void rb_exec_end_proc _((void));
void ruby_finalize _((void));
-void ruby_stop _((int));
+NORETURN(void ruby_stop _((int)));
int ruby_cleanup _((int));
int ruby_exec _((void));
void rb_gc_mark_threads _((void));
diff --git a/ruby.h b/ruby.h
index 16ef17e..0bd05b5 100644
--- a/ruby.h
+++ b/ruby.h
@@ -550,7 +550,7 @@ VALUE rb_require _((const char*));
void ruby_init _((void));
void ruby_options _((int, char**));
-void ruby_run _((void));
+NORETURN(void ruby_run _((void)));
RUBY_EXTERN VALUE rb_mKernel;
RUBY_EXTERN VALUE rb_mComparable;