summaryrefslogtreecommitdiff
path: root/include/stdio.h
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-10-30 15:21:41 +0800
committerIru Cai <mytbk920423@gmail.com>2019-10-30 15:21:41 +0800
commit48a0dd2f45b7af6756af8a84b10c39d1a896f25a (patch)
treed2cfa31ee0ec23392d1e56d023a59150b1d48408 /include/stdio.h
parenteef8e7b05ffab4c7d12a5f7e135357c0462c180c (diff)
downloaduext4-48a0dd2f45b7af6756af8a84b10c39d1a896f25a.tar.xz
kill some stdio function decl
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h15
1 files changed, 0 insertions, 15 deletions
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 */