libc: Remove the empty lib_initialize

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-11-01 01:05:26 +08:00 committed by Gustavo Henrique Nihei
parent 9cb994e6dc
commit aec01e96fa
2 changed files with 0 additions and 11 deletions

View File

@ -101,10 +101,6 @@ extern "C"
* Public Function Prototypes
****************************************************************************/
/* Hook for library initialization. No is needed now, however */
#define lib_initialize()
/* Functions contained in lib_streams.c *************************************/
#ifdef CONFIG_FILE_STREAM

View File

@ -35,7 +35,6 @@
#include <nuttx/sched.h>
#include <nuttx/fs/fs.h>
#include <nuttx/net/net.h>
#include <nuttx/lib/lib.h>
#include <nuttx/mm/iob.h>
#include <nuttx/mm/mm.h>
#include <nuttx/mm/shm.h>
@ -709,12 +708,6 @@ void nx_start(void)
shm_initialize();
#endif
/* Initialize the C libraries. This is done last because the libraries
* may depend on the above.
*/
lib_initialize();
#ifndef CONFIG_BINFMT_DISABLE
/* Initialize the binfmt system */