summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2005-03-04 16:04:58 +0000
committerdsl <dsl@NetBSD.org>2005-03-04 16:04:58 +0000
commit28c48df97be5758cbbd2a615b9b482fb9f9f84fd (patch)
tree2028064c5b0f395f5f16406ef09052b675aae66b /lib/libc/stdio
parent306d28231b102fc728e836cfcb66f409c1217547 (diff)
de __P
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/fseeko.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/libc/stdio/fseeko.c b/lib/libc/stdio/fseeko.c
index 7b0b9e2f693..fd5ea93d26a 100644
--- a/lib/libc/stdio/fseeko.c
+++ b/lib/libc/stdio/fseeko.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fseeko.c,v 1.4 2003/08/07 16:43:25 agc Exp $ */
+/* $NetBSD: fseeko.c,v 1.5 2005/03/04 16:04:58 dsl Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: fseeko.c,v 1.4 2003/08/07 16:43:25 agc Exp $");
+__RCSID("$NetBSD: fseeko.c,v 1.5 2005/03/04 16:04:58 dsl Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -60,12 +60,9 @@ __weak_alias(fseeko, _fseeko)
* `Whence' must be one of the three SEEK_* macros.
*/
int
-fseeko(fp, offset, whence)
- FILE *fp;
- off_t offset;
- int whence;
+fseeko(FILE *fp, off_t offset, int whence)
{
- fpos_t (*seekfn) __P((void *, fpos_t, int));
+ fpos_t (*seekfn)(void *, fpos_t, int);
fpos_t target, curoff;
size_t n;
struct stat st;