summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-01-10 07:30:18 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-01-10 07:30:18 +0000
commit6b5ad7c5b203b7ffa8b86b1d0b9b15df56a90a27 (patch)
tree3418e391f39f859a553db6c1d92cc3e525efe32e /eval.c
parentab9be24857d58a8300ccfb2bfbb093bcfe9807ab (diff)
setres[ug]id, NORETURN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eval.c b/eval.c
index 4ad82d1..2fc5070 100644
--- a/eval.c
+++ b/eval.c
@@ -167,7 +167,7 @@ rb_check_safe_str(x)
}
}
-static void print_undef _((VALUE, ID)) NORETURN;
+NORETURN(static void print_undef _((VALUE, ID)));
static void
print_undef(klass, id)
VALUE klass;
@@ -3312,7 +3312,7 @@ rb_iter_break()
JUMP_TAG(TAG_BREAK);
}
-static void rb_longjmp _((int, VALUE)) NORETURN;
+NORETURN(static void rb_longjmp _((int, VALUE)));
static VALUE make_backtrace _((void));
static void
@@ -5635,7 +5635,7 @@ rb_f_local_variables()
}
static VALUE rb_f_catch _((VALUE,VALUE));
-static VALUE rb_f_throw _((int,VALUE*)) NORETURN;
+NORETURN(static VALUE rb_f_throw _((int,VALUE*)));
struct end_proc_data {
void (*func)();