From 921d595fd4d1115e5cdccaaa2e68703fc8282436 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 14 Oct 2003 02:53:53 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 ++++++ intern.h | 2 +- ruby.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ad21f144b3..1d90d779dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Oct 14 11:53:49 2003 Nobuyoshi Nakada + + * intern.h (ruby_stop): never return. + + * ruby.h (ruby_run): ditto. + Tue Oct 14 04:43:55 2003 Tanaka Akira * lib/pathname.rb (realpath): make ELOOP check bit more robust. diff --git a/intern.h b/intern.h index 9562f0053b..3aa96e5816 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 16ef17e399..0bd05b5c3d 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;