1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

suppress a warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kanemoto 2010-09-13 16:02:35 +00:00
parent 878747437c
commit 54886d0876
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Sep 14 01:24:51 2010 Yutaka Kanemoto <kanemoto@ruby-lang.org>
* ext/socket/raddrinfo.c (ruby_getaddrinfo__aix): suppress a
warning.
Mon Sep 13 20:48:30 2010 Tanaka Akira <akr@fsij.org>
* ext/pathname/pathname.c (path_zero_p): Pathname#zero? translated

View file

@ -56,7 +56,7 @@ ruby_getaddrinfo(const char *nodename, const char *servname,
#if defined(_AIX)
static int
ruby_getaddrinfo__aix(const char *nodename, const char *servname,
struct addrinfo *hints, struct addrinfo **res)
const struct addrinfo *hints, struct addrinfo **res)
{
int error = getaddrinfo(nodename, servname, hints, res);
struct addrinfo *r;