diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-25 03:33:54 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-25 03:33:54 +0000 |
commit | 45c4ae9b8b8cb2ac466f0156222c0134eff90f51 (patch) | |
tree | 001499af5dea2e8adecf5e9b08b835720598f6da /ext/socket | |
parent | 050a8e912f7fb21a610aa72ead6e0fbfa1063f68 (diff) | |
download | ruby-45c4ae9b8b8cb2ac466f0156222c0134eff90f51.tar.gz |
* ext/socket/socket.c (socket_s_list_ip_address): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c index 73d3a85cf0..43d4250b04 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -1536,7 +1536,7 @@ socket_s_list_ip_address(VALUE self) struct ifconf conf; struct ifreq *req; VALUE list = Qnil; - char *reason = NULL; + const char *reason = NULL; int save_errno; fd = socket(AF_INET, SOCK_DGRAM, 0); |