Skip to content

Commit

Permalink
* missing/setproctitle.c (ruby_init_setproctitle): changed prefix.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Jan 17, 2012
1 parent eec5d20 commit b3e2baa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Tue Jan 17 17:13:46 2012 Nobuyoshi Nakada <[email protected]>

* missing/setproctitle.c (ruby_init_setproctitle): changed prefix.

Tue Jan 17 12:32:46 2012 Nobuyoshi Nakada <[email protected]>

* gc.c (aligned_malloc, aligned_free): covered missing defined
Expand Down
1 change: 1 addition & 0 deletions missing/setproctitle.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

#include "ruby.h"
#include "ruby/util.h"
#define compat_init_setproctitle ruby_init_setproctitle

#ifndef HAVE_SETPROCTITLE

Expand Down
4 changes: 2 additions & 2 deletions ruby.c
Original file line number Diff line number Diff line change
Expand Up @@ -1809,8 +1809,8 @@ ruby_process_options(int argc, char **argv)

#ifndef HAVE_SETPROCTITLE
{
extern void compat_init_setproctitle(int argc, char *argv[]);
compat_init_setproctitle(argc, argv);
extern void ruby_init_setproctitle(int argc, char *argv[]);
ruby_init_setproctitle(argc, argv);
}
#endif

Expand Down

0 comments on commit b3e2baa

Please sign in to comment.