From 57ea50518bf405cd0f83c8b0004712d2e7bc72b3 Mon Sep 17 00:00:00 2001 From: wyhaines Date: Thu, 9 Jul 2009 18:29:13 +0000 Subject: ext/socket/extconf.rb: Corrected function definitions to specify return values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@24007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 2 ++ ext/socket/extconf.rb | 2 ++ version.h | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f6cc90ec1..69b064cc2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ Thu Jul 9 11:22:00 2009 Kirk Haines * 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 * lib/soap/mimemessage.rb: Fixed a typo -- conent -> content diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index ece615865..ddf16cbc1 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(< #include +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; diff --git a/version.h b/version.h index cf4a41f23..786aa2e76 100644 --- a/version.h +++ b/version.h @@ -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 -- cgit