mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* internal.h (ruby_init_setproctitle): Declare here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
595ce95d3c
commit
fdc41af774
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Nov 20 00:54:57 2014 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* internal.h (ruby_init_setproctitle): Declare here.
|
||||
|
||||
Thu Nov 20 00:26:37 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (parser_here_document): append byte sequence directly to
|
||||
|
|
|
@ -468,6 +468,11 @@ struct RHash {
|
|||
#define RHASH_SIZE(h) (RHASH(h)->ntbl ? (st_index_t)RHASH(h)->ntbl->num_entries : 0)
|
||||
#endif
|
||||
|
||||
/* missing/setproctitle.c */
|
||||
#ifndef HAVE_SETPROCTITLE
|
||||
extern void ruby_init_setproctitle(int argc, char *argv[]);
|
||||
#endif
|
||||
|
||||
/* class.c */
|
||||
void rb_class_subclass_add(VALUE super, VALUE klass);
|
||||
void rb_class_remove_from_super_subclasses(VALUE);
|
||||
|
|
3
ruby.c
3
ruby.c
|
@ -1930,10 +1930,7 @@ ruby_process_options(int argc, char **argv)
|
|||
iseq = process_options(argc, argv, cmdline_options_init(&opt));
|
||||
|
||||
#ifndef HAVE_SETPROCTITLE
|
||||
{
|
||||
extern void ruby_init_setproctitle(int argc, char *argv[]);
|
||||
ruby_init_setproctitle(argc, argv);
|
||||
}
|
||||
#endif
|
||||
|
||||
return (void*)(struct RData*)iseq;
|
||||
|
|
Loading…
Reference in a new issue