diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-31 01:40:56 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-31 01:40:56 +0000 |
commit | 76d6f560c9818d4afc13f36bd7b374f9c744cfe6 (patch) | |
tree | 4d15b571b27ba6ec6a6ab4f90b9604221b808255 /process.c | |
parent | 8dcf7f931f3879f46a3ac944a3016515a47db7f1 (diff) | |
download | ruby-76d6f560c9818d4afc13f36bd7b374f9c744cfe6.tar.gz |
* 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/trunk@9057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -910,8 +910,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)); @@ -1437,8 +1436,8 @@ rb_fork(status, chfunc, charg) * the parent, returning the process ID of the child, and once in * the child, returning _nil_. The child process can exit using * <code>Kernel.exit!</code> to avoid running any - * <code>at_exit</code> functions. The parent process should - * use <code>Process.wait</code> to collect the termination statuses + * <code>at_exit</code> functions. The parent process should + * use <code>Process.wait</code> to collect the termination statuses * of its children or use <code>Process.detach</code> to register * disinterest in their status; otherwise, the operating system * may accumulate zombie processes. @@ -2790,8 +2789,7 @@ proc_getmaxgroups(obj) */ static VALUE -proc_setmaxgroups(obj, val) - VALUE obj; +proc_setmaxgroups(VALUE obj, VALUE val) { size_t ngroups = FIX2INT(val); |