summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-24 18:24:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-24 18:24:24 +0000
commit20014eb3e06ea70a80caddea35c50ef3bb403c8c (patch)
tree1e363d2606ca5dca42bd558b10e4fb7ee7b460bd /hash.c
parent9ee5345c4b228f14811406bef1931cba4bb69349 (diff)
hash.c: unused functions on non-Windows
* hash.c (invalid_envname, check_envname): not used on platforms other than Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index 8a4c8e5..b1760a8 100644
--- a/hash.c
+++ b/hash.c
@@ -2722,9 +2722,7 @@ getenvblocksize()
{
return (rb_w32_osver() >= 5) ? 32767 : 5120;
}
-#endif
-#if !defined(HAVE_SETENV) || !defined(HAVE_UNSETENV)
NORETURN(static void invalid_envname(const char *name));
static void