From 48a0dd2f45b7af6756af8a84b10c39d1a896f25a Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Wed, 30 Oct 2019 15:21:41 +0800 Subject: kill some stdio function decl --- include/stdio.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'include/stdio.h') diff --git a/include/stdio.h b/include/stdio.h index a18aab0..d5a5928 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -13,18 +13,9 @@ int tstc(void); (defined(CONFIG_TPL_BUILD) && defined(CONFIG_TPL_SERIAL_SUPPORT)) || \ (defined(CONFIG_SPL_BUILD) && !defined(CONFIG_TPL_BUILD) && \ defined(CONFIG_SPL_SERIAL_SUPPORT)) -void putc(const char c); -void puts(const char *s); int __printf(1, 2) printf(const char *fmt, ...); int vprintf(const char *fmt, va_list args); #else -static inline void putc(const char c) -{ -} - -static inline void puts(const char *s) -{ -} static inline int __printf(1, 2) printf(const char *fmt, ...) { @@ -45,10 +36,4 @@ static inline int vprintf(const char *fmt, va_list args) #define stderr 2 #define MAX_FILES 3 -int __printf(2, 3) fprintf(int file, const char *fmt, ...); -void fputs(int file, const char *s); -void fputc(int file, const char c); -int ftstc(int file); -int fgetc(int file); - #endif /* __STDIO_H */ -- cgit v1.2.3