diff options
author | wyhaines <wyhaines@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-09 18:29:13 +0000 |
---|---|---|
committer | wyhaines <wyhaines@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-09 18:29:13 +0000 |
commit | 6dd00f0e08ed2eecc8ab273c4c311c25328be1cb (patch) | |
tree | 4ab0d13e6bff6f7add9e60d0a8776b8418ac97fc | |
parent | 49109186d1de3425ed452bbb854be853b49741c0 (diff) |
ext/socket/extconf.rb: Corrected function definitions to specify return values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | ext/socket/extconf.rb | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 5 insertions, 1 deletions
@@ -6,6 +6,8 @@ Thu Jul 9 11:22:00 2009 Kirk Haines <khaines@ruby-lang.org> * node.h: Remove surplus comma + * ext/socket/extconf.rb: Corrected function definitions to specify return values. + Mon Jun 8 12:46:00 2009 Kirk Haines <khaines@ruby-lang.org> * lib/soap/mimemessage.rb: Fixed a typo -- conent -> content diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index ece615865f..ddf16cbc10 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -43,6 +43,7 @@ if enable_config("ipv6", default_ipv6) if checking_for("ipv6") {try_link(<<EOF)} #include <sys/types.h> #include <sys/socket.h> +int main() { socket(AF_INET6, SOCK_STREAM, 0); @@ -135,6 +136,7 @@ getaddr_info_ok = enable_config("wide-getaddrinfo") do #define AF_LOCAL AF_UNIX #endif +int main() { int passive, gaierr, inet4 = 0, inet6 = 0; @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2009-06-08" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20090608 -#define RUBY_PATCHLEVEL 372 +#define RUBY_PATCHLEVEL 373 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |