summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-19 15:57:31 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-19 15:57:31 +0000
commitfdc41af7742456d31f007715d419a45aad4b8849 (patch)
tree8fd5f64b4cfe2c25c2efeda2060d23c070555919 /ruby.c
parent595ce95d3c63a40fb3234cba4c59eb6c8f60faf8 (diff)
* internal.h (ruby_init_setproctitle): Declare here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ruby.c b/ruby.c
index fdd843e..4a19276 100644
--- a/ruby.c
+++ b/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);
- }
+ ruby_init_setproctitle(argc, argv);
#endif
return (void*)(struct RData*)iseq;