diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-23 07:49:45 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-23 07:49:45 +0000 |
commit | 7f7834abf738ab26236bea159fce7f37dea03f1f (patch) | |
tree | 1e92b71304d4cb6f6a37bee6b74d659ea43a5aad /eval_intern.h | |
parent | 0867b94cb9ec890d608beaa4d100a33508867727 (diff) | |
download | ruby-7f7834abf738ab26236bea159fce7f37dea03f1f.tar.gz |
* include/ruby/node.h, vm_core.h: move definition of
RUBY_VM_METHOD_NODE to node.h.
* class.c, common.mk: remove useless inclusion.
* compile.h, iseq.h, vm_core.h: rename compile.h to iseq.h.
move some definitions from vm_core.h to iseq.h.
* compile.c, iseq.c, vm.c: ditto.
* eval.c, compile.c: move some functions for parser
from eval.c to compile.c.
* eval_intern.h, vm_core.h: move va_init_list() macro to
vm_core.h.
* iseq.c (rb_iseq_new_top, rb_iseq_first_lineno): added.
* load.c, ruby.c: use rb_iseq_new_top() instead of
rb_iseq_new() with ISEQ_TYPE_TOP constant directly.
* proc.c: use rb_iseq_first_lineno() instead of accessing
iseq structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_intern.h')
-rw-r--r-- | eval_intern.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/eval_intern.h b/eval_intern.h index dbfcb66300..9444e0798b 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -52,14 +52,6 @@ void *alloca(); # endif /* HAVE_ALLOCA_H */ #endif /* __GNUC__ */ -#ifdef HAVE_STDARG_PROTOTYPES -#include <stdarg.h> -#define va_init_list(a,b) va_start(a,b) -#else -#include <varargs.h> -#define va_init_list(a,b) va_start(a) -#endif - #ifndef HAVE_STRING_H char *strrchr(const char *, const char); #endif |