summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-07 00:04:36 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-07 00:04:36 +0900
commit0bbab1e5151c3396ebe544d09cad997cd9cb5e3b (patch)
tree9ca2db82ab1b42c3902733d640228bb8eeb5f638 /hash.c
parent99644514db3768e4fd47d6ff9111091ab1a5a6d2 (diff)
downloadruby-0bbab1e5151c3396ebe544d09cad997cd9cb5e3b.tar.gz
Protoized old pre-ANSI K&R style declarations and definitions
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index ce0e72a017..9b98739c97 100644
--- a/hash.c
+++ b/hash.c
@@ -4820,7 +4820,7 @@ extern char **environ;
#endif
static inline rb_encoding *
-env_encoding()
+env_encoding(void)
{
#ifdef _WIN32
return rb_utf8_encoding();