* 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
This commit is contained in:
nobu 2001-07-31 08:04:13 +00:00
parent c8a7361e45
commit 4b7c92fa90
3 changed files with 16 additions and 10 deletions

View File

@ -1,3 +1,9 @@
Tue Jul 31 15:16:39 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* process.c (last_status_set): nothing returned, should be void.
* ext/socket/socket.c (load_addr_info): ditto.
Tue Jul 31 12:11:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org> Tue Jul 31 12:11:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
* marshal.c (Init_marshal): new constant Marshal::MAJOR_VERSION * marshal.c (Init_marshal): new constant Marshal::MAJOR_VERSION

View File

@ -781,7 +781,7 @@ ruby_connect(fd, sockaddr, len, socks)
} }
} }
static VALUE static void
load_addr_info(h, serv, type, res) load_addr_info(h, serv, type, res)
VALUE h, serv; VALUE h, serv;
int type; int type;
@ -820,8 +820,8 @@ load_addr_info(h, serv, type, res)
if (error) { if (error) {
rb_raise(rb_eSocket, "getaddrinfo: %s", gai_strerror(error)); rb_raise(rb_eSocket, "getaddrinfo: %s", gai_strerror(error));
} }
} }
static VALUE static VALUE
open_inet(class, remote_host, remote_serv, local_host, local_serv, type) open_inet(class, remote_host, remote_serv, local_host, local_serv, type)
VALUE class, remote_host, remote_serv, local_host, local_serv; VALUE class, remote_host, remote_serv, local_host, local_serv;

View File

@ -95,7 +95,7 @@ get_ppid()
static VALUE rb_cProcStatus; static VALUE rb_cProcStatus;
VALUE rb_last_status = Qnil; VALUE rb_last_status = Qnil;
static VALUE static void
last_status_set(status) last_status_set(status)
int status; int status;
{ {