From 3410fd681259e17432ec632327a85fc8eaaca8d8 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 25 Dec 2007 04:17:06 +0000 Subject: * README.EXT.ja, dir.c, eval.c, eval_intern.h, lex.c.src, lex.c.blt, keywords, load.c, thread.c: more ANSI'ize. a patch from Tadashi Saito in [ruby-dev:32725] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval_intern.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'eval_intern.h') diff --git a/eval_intern.h b/eval_intern.h index 15202fa2f8..884d7c42a0 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -62,7 +62,7 @@ void *alloca(); #endif #ifndef HAVE_STRING_H -char *strrchr _((const char *, const char)); +char *strrchr(const char *, const char); #endif #ifdef HAVE_UNISTD_H @@ -192,19 +192,19 @@ char *strrchr _((const char *, const char)); } \ while (0) -void rb_thread_cleanup _((void)); -void rb_thread_wait_other_threads _((void)); +void rb_thread_cleanup(void); +void rb_thread_wait_other_threads(void); int thread_set_raised(rb_thread_t *th); int thread_reset_raised(rb_thread_t *th); VALUE rb_f_eval(int argc, VALUE *argv, VALUE self); -VALUE rb_make_exception _((int argc, VALUE *argv)); +VALUE rb_make_exception(int argc, VALUE *argv); NORETURN(void rb_fiber_start(void)); -NORETURN(void rb_raise_jump _((VALUE))); -NORETURN(void rb_print_undef _((VALUE, ID, int))); +NORETURN(void rb_raise_jump(VALUE)); +NORETURN(void rb_print_undef(VALUE, ID, int)); NORETURN(void vm_localjump_error(const char *, VALUE, int)); NORETURN(void vm_jump_tag_but_local_jump(int, VALUE)); -- cgit v1.2.3