libc/stdio: Remove sys/types.h inclusion for printf/scanf
since double_t move from sys/types.h to math.h now and remove math.h inclusion too because lib_dtoa_engine.h already include Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I3497a73908301d999cf1cfc4a66552a7ca4868c6
This commit is contained in:
parent
d0dc72c2fb
commit
43b613877d
|
@ -39,7 +39,6 @@
|
|||
|
||||
#include <nuttx/compiler.h>
|
||||
|
||||
#include <math.h>
|
||||
#include <wchar.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include "lib_dtoa_engine.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -275,3 +274,7 @@ const double_t g_dtoa_round[] =
|
|||
5e0,
|
||||
#endif
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
|
|
@ -37,9 +37,6 @@
|
|||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "lib_dtoa_engine.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdbool.h>
|
||||
#include <math.h>
|
||||
#include <assert.h>
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Reference in New Issue