diff options
Diffstat (limited to 'newlib/libc/stdio/ftello.c')
-rw-r--r-- | newlib/libc/stdio/ftello.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/newlib/libc/stdio/ftello.c b/newlib/libc/stdio/ftello.c index 918883cf0..216d88453 100644 --- a/newlib/libc/stdio/ftello.c +++ b/newlib/libc/stdio/ftello.c @@ -15,12 +15,14 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +#include <_ansi.h> +#include <reent.h> #include <stdio.h> _off_t -_DEFUN (_ftello_r, (ptr, fp), - struct _reent * ptr _AND - register FILE * fp) +_DEFUN(_ftello_r, (ptr, fp), + struct _reent * ptr _AND + register FILE * fp) { /* for now we simply cast since off_t should be long */ return (_off_t)_ftell_r (ptr, fp); @@ -29,8 +31,8 @@ _DEFUN (_ftello_r, (ptr, fp), #ifndef _REENT_ONLY _off_t -_DEFUN (ftello, (fp), - register FILE * fp) +_DEFUN(ftello, (fp), + register FILE * fp) { return (_off_t)_ftell_r (_REENT, fp); } |