From 488f478d24019de88aa96944a0b91987ced37e12 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 31 May 2013 22:53:58 +0000 Subject: * ext/socket/option.c (inspect_byte): used only on NetBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/option.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/socket') diff --git a/ext/socket/option.c b/ext/socket/option.c index f2f052e8e6..ef712168a7 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -484,6 +484,7 @@ inspect_int(int level, int optname, VALUE data, VALUE ret) } } +#ifdef __NetBSD__ static int inspect_byte(int level, int optname, VALUE data, VALUE ret) { @@ -495,6 +496,7 @@ inspect_byte(int level, int optname, VALUE data, VALUE ret) return 0; } } +#endif static int inspect_errno(int level, int optname, VALUE data, VALUE ret) -- cgit v1.2.3