From f9368f65b108264889d54855e687334f7e84f092 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 29 Jul 2012 14:56:52 +0000 Subject: win32.c: rb_w32_inet_ntop should be const * win32/win32.c (rb_w32_inet_ntop): type should be const. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/socket/option.c') diff --git a/ext/socket/option.c b/ext/socket/option.c index 4cef1c81c4..37315629f2 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -437,7 +437,7 @@ inspect_timeval_as_interval(int level, int optname, VALUE data, VALUE ret) */ #ifndef HAVE_INET_NTOP -static char * +static const char * inet_ntop(int af, const void *addr, char *numaddr, size_t numaddr_len) { #ifdef HAVE_INET_NTOA -- cgit v1.2.3