From e83faee37db132d765f3064227677150f206496e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 12 Aug 2002 10:57:22 +0000 Subject: Doh! missed a spot. -Erik --- libc/stdlib/atexit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/stdlib') diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c index a877c5a1f..e4b6620e2 100644 --- a/libc/stdlib/atexit.c +++ b/libc/stdlib/atexit.c @@ -168,7 +168,9 @@ void __exit_handler(int status) #ifdef L_exit extern void weak_function _stdio_term(void); void (*__exit_cleanup) (int) = 0; +#ifdef __UCLIBC_HAS_THREADS__ pthread_mutex_t mylock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; +#endif /* * Normal program termination -- cgit v1.2.3