diff options
Diffstat (limited to 'libc/stdlib/malloc-930716')
-rw-r--r-- | libc/stdlib/malloc-930716/malloc.c | 4 | ||||
-rw-r--r-- | libc/stdlib/malloc-930716/memalign.c | 4 | ||||
-rw-r--r-- | libc/stdlib/malloc-930716/realloc.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/libc/stdlib/malloc-930716/malloc.c b/libc/stdlib/malloc-930716/malloc.c index af2658415..14047cb02 100644 --- a/libc/stdlib/malloc-930716/malloc.c +++ b/libc/stdlib/malloc-930716/malloc.c @@ -21,8 +21,8 @@ #ifdef __UCLIBC_HAS_THREADS__ #include <pthread.h> pthread_mutex_t __malloclock = PTHREAD_MUTEX_INITIALIZER; -# define LOCK pthread_mutex_lock(&__malloclock) -# define UNLOCK pthread_mutex_unlock(&__malloclock); +# define LOCK __pthread_mutex_lock(&__malloclock) +# define UNLOCK __pthread_mutex_unlock(&__malloclock); #else # define LOCK # define UNLOCK diff --git a/libc/stdlib/malloc-930716/memalign.c b/libc/stdlib/malloc-930716/memalign.c index eea460aad..b89165452 100644 --- a/libc/stdlib/malloc-930716/memalign.c +++ b/libc/stdlib/malloc-930716/memalign.c @@ -20,8 +20,8 @@ #ifdef __UCLIBC_HAS_THREADS__ #include <pthread.h> extern pthread_mutex_t __malloclock; -# define LOCK pthread_mutex_lock(&__malloclock) -# define UNLOCK pthread_mutex_unlock(&__malloclock); +# define LOCK __pthread_mutex_lock(&__malloclock) +# define UNLOCK __pthread_mutex_unlock(&__malloclock); #else # define LOCK # define UNLOCK diff --git a/libc/stdlib/malloc-930716/realloc.c b/libc/stdlib/malloc-930716/realloc.c index 8215afa8d..397534a5a 100644 --- a/libc/stdlib/malloc-930716/realloc.c +++ b/libc/stdlib/malloc-930716/realloc.c @@ -21,8 +21,8 @@ #ifdef __UCLIBC_HAS_THREADS__ #include <pthread.h> extern pthread_mutex_t __malloclock; -# define LOCK pthread_mutex_lock(&__malloclock) -# define UNLOCK pthread_mutex_unlock(&__malloclock); +# define LOCK __pthread_mutex_lock(&__malloclock) +# define UNLOCK __pthread_mutex_unlock(&__malloclock); #else # define LOCK # define UNLOCK |