revise the definition of multiple basic locks in the code

In all cases this is just a change from two volatile int to one.
This commit is contained in:
Jens Gustedt authored and Rich Felker committed 2018-01-09 13:15:27 -05:00
1 parent c4bc0b1a64
commit 32482f61da
15 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ void *__expand_heap(size_t *);
static void *__simple_malloc(size_t n)
{
static char *cur, *end;
static volatile int lock[2];
static volatile int lock[1];
size_t align=1, pad;
void *p;