summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-31 08:04:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-31 08:04:13 +0000
commit4b7c92fa90047ba6d3d2a479dda9fe0c83f0f424 (patch)
tree99e89f9159cc74694089489b9100949f03f60903 /process.c
parentc8a7361e45e3a149b970ae9cd74cbbcfbfd1d501 (diff)
* process.c (last_status_set): nothing returned, should be void.
* ext/socket/socket.c (load_addr_info): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/process.c b/process.c
index e4b7c8f..97b8faf 100644
--- a/process.c
+++ b/process.c
@@ -95,7 +95,7 @@ get_ppid()
static VALUE rb_cProcStatus;
VALUE rb_last_status = Qnil;
-static VALUE
+static void
last_status_set(status)
int status;
{
@@ -653,7 +653,7 @@ proc_spawn_v(argv, prog)
}
before_exec();
status = spawnv(P_WAIT, prog, argv);
- after_exec();
+ after_exec();
return status;
}