From 6f1e6c22ab67fbb7b5642e142ac3c1f4d6968263 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 18 Jun 2002 07:50:22 +0000 Subject: Silly name change --- libc/stdlib/setenv.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c index ef5d84d81..8b7a1bf2d 100644 --- a/libc/stdlib/setenv.c +++ b/libc/stdlib/setenv.c @@ -27,11 +27,10 @@ #include #ifdef __UCLIBC_HAS_THREADS__ -/* protects against simultaneous modifications of `environ'. */ #include -static pthread_mutex_t envlock = PTHREAD_MUTEX_INITIALIZER; -# define LOCK pthread_mutex_lock(&envlock) -# define UNLOCK pthread_mutex_unlock(&envlock); +static pthread_mutex_t mylock = PTHREAD_MUTEX_INITIALIZER; +# define LOCK pthread_mutex_lock(&mylock) +# define UNLOCK pthread_mutex_unlock(&mylock); #else # define LOCK # define UNLOCK -- cgit v1.2.3