stdio: remove depends on setbuf setvbuf

N/A

Cause the function realize will handle this

Change-Id: I154c21c7a40667afae423bb0ebb67de8f5fc42fd
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd
2020-10-26 18:29:27 +08:00
committed by Brennan Ashton
parent 07fc24ba99
commit b69c587dc9
3 changed files with 1 additions and 8 deletions
-2
View File
@@ -76,10 +76,8 @@ namespace std
using ::fwrite;
using ::gets;
using ::gets_s;
#ifndef CONFIG_STDIO_DISABLE_BUFFERING
using ::setbuf;
using ::setvbuf;
#endif
using ::ungetc;
// Operations on the stdout stream, buffers, paths, and the whole printf-family
-2
View File
@@ -164,10 +164,8 @@ FAR char *gets(FAR char *s);
FAR char *gets_s(FAR char *s, rsize_t n);
void rewind(FAR FILE *stream);
#ifndef CONFIG_STDIO_DISABLE_BUFFERING
void setbuf(FAR FILE *stream, FAR char *buf);
int setvbuf(FAR FILE *stream, FAR char *buffer, int mode, size_t size);
#endif
int ungetc(int c, FAR FILE *stream);
+1 -4
View File
@@ -62,15 +62,12 @@ CSRCS += lib_stdsostream.c lib_perror.c lib_feof.c lib_ferror.c
CSRCS += lib_rawinstream.c lib_rawoutstream.c lib_rawsistream.c
CSRCS += lib_rawsostream.c lib_remove.c lib_rewind.c lib_clearerr.c
CSRCS += lib_scanf.c lib_vscanf.c lib_fscanf.c lib_vfscanf.c lib_tmpfile.c
CSRCS += lib_setbuf.c lib_setvbuf.c
endif
CSRCS += lib_tempnam.c lib_tmpnam.c
ifneq ($(CONFIG_STDIO_DISABLE_BUFFERING),y)
CSRCS += lib_setbuf.c lib_setvbuf.c
endif
# Other support that depends on specific, configured features.
# Add the stdio directory to the build