summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/local.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-08-31 18:23:29 +0000
committerache <ache@FreeBSD.org>2001-08-31 18:23:29 +0000
commit2362fc36bc1d2beae0027a778eeca43c5f18bc8d (patch)
treeef0edbd2131d5fbfeb3556a582d2491b8a11f007 /lib/libc/stdio/local.h
parent85477cf711c667771f03f0ccd26176800e8e751d (diff)
downloadFreeBSD-src-2362fc36bc1d2beae0027a778eeca43c5f18bc8d.zip
FreeBSD-src-2362fc36bc1d2beae0027a778eeca43c5f18bc8d.tar.gz
The same big piece of ftell code repeated in 3 places. Simplify things moving
it into one subfunction instead. Try to use real offset in strange cases.
Diffstat (limited to 'lib/libc/stdio/local.h')
-rw-r--r--lib/libc/stdio/local.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/local.h b/lib/libc/stdio/local.h
index 5c0d347..00ec2d8 100644
--- a/lib/libc/stdio/local.h
+++ b/lib/libc/stdio/local.h
@@ -46,6 +46,7 @@
* in particular, macros and private variables.
*/
+extern off_t _ftello __P((FILE *));
extern int _fseeko __P((FILE *, off_t, int, int));
extern int __fflush __P((FILE *fp));
extern int __sflush __P((FILE *));
OpenPOWER on IntegriCloud