From ca52bf17056dcaaa7a78aa34eaf72af627fdedf6 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 11 May 2010 20:41:37 +0000 Subject: 2010-05-11 Jeff Johnston * libc/stdlib/__call_atexit.c: Fix lock to be of type _LOCK_RECURSIVE_T as recursive usage is needed. --- newlib/libc/stdlib/__call_atexit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/stdlib') diff --git a/newlib/libc/stdlib/__call_atexit.c b/newlib/libc/stdlib/__call_atexit.c index 813c34da6..6dd2ec63a 100644 --- a/newlib/libc/stdlib/__call_atexit.c +++ b/newlib/libc/stdlib/__call_atexit.c @@ -12,7 +12,7 @@ void free(void *) _ATTRIBUTE((__weak__)); #ifndef __SINGLE_THREAD__ -extern _LOCK_T __atexit_lock; +extern _LOCK_RECURSIVE_T __atexit_lock; #endif /* -- cgit v1.2.3