From e379b4d2a472d10dfc00f849ab566558955cfda8 Mon Sep 17 00:00:00 2001 From: armink Date: Sat, 12 Nov 2016 21:46:17 +0800 Subject: [PATCH] [pthreads]Add component init for pthread_system_init. --- components/libc/pthreads/pthread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/libc/pthreads/pthread.c b/components/libc/pthreads/pthread.c index 41432f760..eb7d582e5 100644 --- a/components/libc/pthreads/pthread.c +++ b/components/libc/pthreads/pthread.c @@ -39,6 +39,7 @@ int pthread_system_init(void) return 0; } +INIT_COMPONENT_EXPORT(pthread_system_init); static void _pthread_cleanup(rt_thread_t tid) {