diff options
Diffstat (limited to 'lib/libc/stdio/fgetpos.c')
-rw-r--r-- | lib/libc/stdio/fgetpos.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/stdio/fgetpos.c b/lib/libc/stdio/fgetpos.c index 53996ca95d5..ace447a31da 100644 --- a/lib/libc/stdio/fgetpos.c +++ b/lib/libc/stdio/fgetpos.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: fgetpos.c,v 1.4 2003/06/02 20:18:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: fgetpos.c,v 1.5 2004/09/28 18:12:44 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> @@ -40,9 +40,7 @@ static char rcsid[] = "$OpenBSD: fgetpos.c,v 1.4 2003/06/02 20:18:37 millert Exp * fgetpos: like ftello. */ int -fgetpos(fp, pos) - FILE *fp; - fpos_t *pos; +fgetpos(FILE *fp, fpos_t *pos) { return((*pos = ftello(fp)) == (fpos_t)-1); } |