summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwyhaines <wyhaines@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-09 18:29:13 +0000
committerwyhaines <wyhaines@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-09 18:29:13 +0000
commit57ea50518bf405cd0f83c8b0004712d2e7bc72b3 (patch)
tree4ab0d13e6bff6f7add9e60d0a8776b8418ac97fc
parent9db01e060fca9eb7765632f8e49154b7dcc18281 (diff)
downloadruby-57ea50518bf405cd0f83c8b0004712d2e7bc72b3.tar.gz
ruby-57ea50518bf405cd0f83c8b0004712d2e7bc72b3.tar.xz
ruby-57ea50518bf405cd0f83c8b0004712d2e7bc72b3.zip
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
-rw-r--r--ChangeLog2
-rw-r--r--ext/socket/extconf.rb2
-rw-r--r--version.h2
3 files changed, 5 insertions, 1 deletions
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 <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 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(<<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;
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