diff options
Diffstat (limited to 'lib/libc/stdio/fsetpos.c')
-rw-r--r-- | lib/libc/stdio/fsetpos.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/stdio/fsetpos.c b/lib/libc/stdio/fsetpos.c index 04f1bdc8002..ccf349d3024 100644 --- a/lib/libc/stdio/fsetpos.c +++ b/lib/libc/stdio/fsetpos.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: fsetpos.c,v 1.4 2003/06/02 20:18:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: fsetpos.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: fsetpos.c,v 1.4 2003/06/02 20:18:37 millert Exp * fsetpos: like fseeko. */ int -fsetpos(iop, pos) - FILE *iop; - const fpos_t *pos; +fsetpos(FILE *iop, const fpos_t *pos) { return (fseeko(iop, (off_t)*pos, SEEK_SET)); } |