aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2012-05-22 22:04:05 +0200
committermaximilian attems <max@stro.at>2012-05-22 22:04:05 +0200
commitbf526ecf1bb5c36c7f86464ed33dde836c2d8c04 (patch)
tree406a5a2d8e055d1cbfb69caa3afc397f62cd47bf
parent5ef98b5f6014bf592535e146ed3de3318b778621 (diff)
downloadklibc-bf526ecf1bb5c36c7f86464ed33dde836c2d8c04.tar.gz
[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@stro.at>
-rw-r--r--usr/include/stdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/include/stdio.h b/usr/include/stdio.h
index f24ab6937d973f..21243cc703c658 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