summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorarmink <[email protected]>2016-11-12 21:46:17 +0800
committerarmink <[email protected]>2016-11-12 21:46:17 +0800
commite379b4d2a472d10dfc00f849ab566558955cfda8 (patch)
tree96433e080e8f45f38aa5afe2f84fcdc0aa034eac /components
parent5a1eb1dec912422e2ab51c52765b666329fbd4c0 (diff)
[pthreads]Add component init for pthread_system_init.
Diffstat (limited to 'components')
-rw-r--r--components/libc/pthreads/pthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/libc/pthreads/pthread.c b/components/libc/pthreads/pthread.c
index 41432f760f..eb7d582e59 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)
{