mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
remove declaration of ruby_engine from internal.h
* internal.h (ruby_engine): remove declaration of ruby_engine because it's declared at ruby/version.h. * ruby.c: include ruby/version.h for ruby_engine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
da83d210e0
commit
714836c152
2 changed files with 1 additions and 3 deletions
|
@ -1859,9 +1859,6 @@ void rb_autoload_str(VALUE mod, ID id, VALUE file);
|
|||
void rb_deprecate_constant(VALUE mod, const char *name);
|
||||
NORETURN(VALUE rb_mod_const_missing(VALUE,VALUE));
|
||||
|
||||
/* version.c */
|
||||
extern const char ruby_engine[];
|
||||
|
||||
/* vm_insnhelper.h */
|
||||
rb_serial_t rb_next_class_serial(void);
|
||||
|
||||
|
|
1
ruby.c
1
ruby.c
|
@ -17,6 +17,7 @@
|
|||
#endif
|
||||
#include "ruby/encoding.h"
|
||||
#include "ruby/thread.h"
|
||||
#include "ruby/version.h"
|
||||
#include "internal.h"
|
||||
#include "eval_intern.h"
|
||||
#include "dln.h"
|
||||
|
|
Loading…
Reference in a new issue