diff options
author | Ed Maste <emaste@FreeBSD.org> | 2013-04-23 14:36:44 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2013-04-23 14:36:44 +0000 |
commit | 5a6307cf42c5b4965435b3b7af74a37fd4dc17b9 (patch) | |
tree | eee3d4211d69ff36f950fb608985ae69d9c4c4e1 /lib/libc/stdio/fseek.c | |
parent | 5628dd089340472da80d5e3cce2108e155592ecd (diff) | |
download | src-5a6307cf42c5b4965435b3b7af74a37fd4dc17b9.tar.gz src-5a6307cf42c5b4965435b3b7af74a37fd4dc17b9.zip |
Notes
Diffstat (limited to 'lib/libc/stdio/fseek.c')
-rw-r--r-- | lib/libc/stdio/fseek.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/lib/libc/stdio/fseek.c b/lib/libc/stdio/fseek.c index 55ab65760d2b..2897eebf9c88 100644 --- a/lib/libc/stdio/fseek.c +++ b/lib/libc/stdio/fseek.c @@ -51,10 +51,7 @@ __FBSDID("$FreeBSD$"); #define POS_ERR (-(fpos_t)1) int -fseek(fp, offset, whence) - FILE *fp; - long offset; - int whence; +fseek(FILE *fp, long offset, int whence) { int ret; int serrno = errno; @@ -72,10 +69,7 @@ fseek(fp, offset, whence) } int -fseeko(fp, offset, whence) - FILE *fp; - off_t offset; - int whence; +fseeko(FILE *fp, off_t offset, int whence) { int ret; int serrno = errno; @@ -97,11 +91,7 @@ fseeko(fp, offset, whence) * `Whence' must be one of the three SEEK_* macros. */ int -_fseeko(fp, offset, whence, ltest) - FILE *fp; - off_t offset; - int whence; - int ltest; +_fseeko(FILE *fp, off_t offset, int whence, int ltest) { fpos_t (*seekfn)(void *, fpos_t, int); fpos_t target, curoff, ret; |