From b3f31b1adbeb5897ba2cf55614625eea14431921 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 9 Oct 2016 22:48:07 +0200 Subject: [PATCH] Fix double declaration of __heap_mutex. --- libc/malloc/__heap_unlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/malloc/__heap_unlock.c b/libc/malloc/__heap_unlock.c index f091b949..754874dc 100644 --- a/libc/malloc/__heap_unlock.c +++ b/libc/malloc/__heap_unlock.c @@ -25,7 +25,7 @@ #endif #ifndef __is_sortix_libk -pthread_mutex_t __heap_mutex; +extern pthread_mutex_t __heap_mutex; #endif void __heap_unlock(void)