stdio/va_format: move non-standard structure va_format to nuttx/streams.h
Signed-off-by: likun17 <likun17@xiaomi.com> Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
8639b1ca66
commit
65264051aa
|
@ -296,6 +296,12 @@ struct lib_mtdoutstream_s
|
|||
};
|
||||
#endif
|
||||
|
||||
struct va_format
|
||||
{
|
||||
FAR const char *fmt;
|
||||
FAR va_list *va;
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
****************************************************************************/
|
||||
|
|
|
@ -111,12 +111,6 @@
|
|||
|
||||
typedef struct file_struct FILE;
|
||||
|
||||
struct va_format
|
||||
{
|
||||
FAR const char *fmt;
|
||||
FAR va_list *va;
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
****************************************************************************/
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include <nuttx/sched.h>
|
||||
#include <nuttx/streams.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
|
Loading…
Reference in New Issue