libc: Remove the empty lib_initialize
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
9cb994e6dc
commit
aec01e96fa
@ -101,10 +101,6 @@ extern "C"
|
|||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* Hook for library initialization. No is needed now, however */
|
|
||||||
|
|
||||||
#define lib_initialize()
|
|
||||||
|
|
||||||
/* Functions contained in lib_streams.c *************************************/
|
/* Functions contained in lib_streams.c *************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_FILE_STREAM
|
#ifdef CONFIG_FILE_STREAM
|
||||||
|
@ -35,7 +35,6 @@
|
|||||||
#include <nuttx/sched.h>
|
#include <nuttx/sched.h>
|
||||||
#include <nuttx/fs/fs.h>
|
#include <nuttx/fs/fs.h>
|
||||||
#include <nuttx/net/net.h>
|
#include <nuttx/net/net.h>
|
||||||
#include <nuttx/lib/lib.h>
|
|
||||||
#include <nuttx/mm/iob.h>
|
#include <nuttx/mm/iob.h>
|
||||||
#include <nuttx/mm/mm.h>
|
#include <nuttx/mm/mm.h>
|
||||||
#include <nuttx/mm/shm.h>
|
#include <nuttx/mm/shm.h>
|
||||||
@ -709,12 +708,6 @@ void nx_start(void)
|
|||||||
shm_initialize();
|
shm_initialize();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Initialize the C libraries. This is done last because the libraries
|
|
||||||
* may depend on the above.
|
|
||||||
*/
|
|
||||||
|
|
||||||
lib_initialize();
|
|
||||||
|
|
||||||
#ifndef CONFIG_BINFMT_DISABLE
|
#ifndef CONFIG_BINFMT_DISABLE
|
||||||
/* Initialize the binfmt system */
|
/* Initialize the binfmt system */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user