Browse Source

[pthreads]Add component init for pthread_system_init.

armink 8 years ago
parent
commit
e379b4d2a4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      components/libc/pthreads/pthread.c

+ 1 - 0
components/libc/pthreads/pthread.c

@@ -39,6 +39,7 @@ int pthread_system_init(void)
 
 
     return 0;
     return 0;
 }
 }
+INIT_COMPONENT_EXPORT(pthread_system_init);
 
 
 static void _pthread_cleanup(rt_thread_t tid)
 static void _pthread_cleanup(rt_thread_t tid)
 {
 {