* process.c (proc_detach, proc_setmaxgroups): missing argument type

declaration. (I recomment ANSI-style function)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-08-31 01:40:56 +00:00
parent 0b631d6836
commit b692adc093
2 changed files with 153 additions and 150 deletions

View file

@ -1,6 +1,11 @@
Wed Aug 31 10:30:56 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* process.c (proc_detach, proc_setmaxgroups): missing argument type
declaration. (I recomment ANSI-style function)
Tue Aug 30 23:20:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_rescue2): intialization miss. fixed: [ruby-dev:26917]
* eval.c (rb_rescue2): initialization miss. fixed: [ruby-dev:26917]
* lib/mkmf.rb (xsystem, xpopen): no longer expand by Config.

View file

@ -900,8 +900,7 @@ rb_detach_process(pid)
*/
static VALUE
proc_detach(obj, pid)
VALUE pid;
proc_detach(VALUE obj, VALUE pid)
{
rb_secure(2);
return rb_detach_process(NUM2INT(pid));
@ -2564,8 +2563,7 @@ proc_getmaxgroups(obj)
*/
static VALUE
proc_setmaxgroups(obj, val)
VALUE obj;
proc_setmaxgroups(VALUE obj, VALUE val)
{
size_t ngroups = FIX2INT(val);