[klibc] [klibc:master] include: [stdio.h] add clearerr() prototype
klibc-bot for maximilian attems
max at stro.at
Tue May 22 13:12:02 PDT 2012
Commit-ID: bf526ecf1bb5c36c7f86464ed33dde836c2d8c04
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=bf526ecf1bb5c36c7f86464ed33dde836c2d8c04
Author: maximilian attems <max at stro.at>
AuthorDate: Tue, 22 May 2012 22:04:05 +0200
Committer: maximilian attems <max at stro.at>
CommitDate: Tue, 22 May 2012 22:04:05 +0200
[klibc] include: [stdio.h] add clearerr() prototype
Seen on kmod compiling:
/usr/lib/klibc/include/stdio.h:130:22: warning: no previous prototype for 'clearerr' [-Wmissing-prototypes]
Signed-off-by: maximilian attems <max at stro.at>
---
usr/include/stdio.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/usr/include/stdio.h b/usr/include/stdio.h
index f24ab69..21243cc 100644
--- a/usr/include/stdio.h
+++ b/usr/include/stdio.h
@@ -95,6 +95,7 @@ __extern off_t ftell(FILE *__f);
__extern int ferror(FILE * );
__extern int feof(FILE *);
__extern int fileno(FILE *);
+__extern void clearerr(FILE *);
#ifndef __NO_STDIO_INLINES
__extern_inline size_t
More information about the klibc
mailing list