diff options
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4810,9 +4810,9 @@ extern char **environ; #define ENVNMATCH(s1, s2, n) (memcmp((s1), (s2), (n)) == 0) #endif -rb_nativethread_lock_t env_lock; +static rb_nativethread_lock_t env_lock; -const char* +static const char* getenv_with_lock(const char *name) { rb_native_mutex_lock(&env_lock); |