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:
Xiang Xiao 2020-06-28 14:04:30 +08:00 committed by Abdelatif Guettouche
parent d0dc72c2fb
commit 43b613877d
5 changed files with 4 additions and 7 deletions

View File

@ -39,7 +39,6 @@
#include <nuttx/compiler.h>
#include <math.h>
#include <wchar.h>
#include <stdint.h>
#include <stdbool.h>

View File

@ -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
****************************************************************************/

View File

@ -37,9 +37,6 @@
* Included Files
****************************************************************************/
#include <sys/types.h>
#include <math.h>
#include "lib_dtoa_engine.h"
/****************************************************************************

View File

@ -46,7 +46,6 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <stdbool.h>
#include <math.h>
#include <assert.h>

View File

@ -42,7 +42,6 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>