summaryrefslogtreecommitdiff
path: root/ext/socket/addrinfo.h
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-27 04:30:20 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-27 04:30:20 +0000
commit2fcd221fecabe3e6acaa21c54ae6d1ccbe8c0204 (patch)
tree747012b989525a9a04971ea4c7580173aa92e879 /ext/socket/addrinfo.h
parent4e840877aa9b8ac179cc86202367eaaf8b78b77e (diff)
* io.c (READ_DATA_PENDING): uClibc support.
* random.c (rand_init): ditto. * ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/addrinfo.h')
-rw-r--r--ext/socket/addrinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/addrinfo.h b/ext/socket/addrinfo.h
index 6000a466ba..aaa309cfdd 100644
--- a/ext/socket/addrinfo.h
+++ b/ext/socket/addrinfo.h
@@ -154,7 +154,7 @@ extern int getnameinfo __P((
extern void freehostent __P((struct hostent *));
extern void freeaddrent __P((struct addrinfo *));
-extern char *gai_strerror __P((int));
+extern const char *gai_strerror __P((int));
/* In case there is no definition of offsetof() provided - though any proper
Standard C system should have one. */