diff options
author | maximilian attems <max@stro.at> | 2011-09-01 00:40:34 +0200 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2011-09-03 19:15:19 +0200 |
commit | c40634c7812fa4d4edd6a11918ea05a52742dbbc (patch) | |
tree | 89f6980d2afdd9cf32e174ea99236ef9596be86e | |
parent | 487cecbf095a181c2140589d37cf66369958f7fd (diff) | |
download | klibc-c40634c7812fa4d4edd6a11918ea05a52742dbbc.tar.gz |
[klibc] include: [stdio.h] Add fileno() declaration
Function is around since longer.
Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r-- | usr/include/stdio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/include/stdio.h b/usr/include/stdio.h index 7d3dca6ef80fe..ea775006974a4 100644 --- a/usr/include/stdio.h +++ b/usr/include/stdio.h @@ -53,7 +53,9 @@ enum _IO_file_flags { /* * Convert between a FILE * and a file descriptor. */ -static __inline__ int fileno(FILE * __f) +__extern int fileno(FILE *); + +__extern_inline int fileno(FILE * __f) { return __f->fd; } |