Simplify fseek/ftell.
Another step towards _FILE_OFFSET_BITS=64 support.
Bug: http://b/24807045
Change-Id: I00b83c81a7b108176c4d9437bc32611f73b7e967
diff --git a/libc/stdio/local.h b/libc/stdio/local.h
index a15bddf..7188c74 100644
--- a/libc/stdio/local.h
+++ b/libc/stdio/local.h
@@ -92,7 +92,6 @@
/* Unix stdio files get aligned to block boundaries on fseek() */
int _blksize; /* stat.st_blksize (may be != _bf._size) */
- fpos_t _offset; /* current lseek offset */
};
/*
@@ -112,6 +111,10 @@
bool _caller_handles_locking;
};
+// TODO: remove remaining references to these obsolete flags.
+#define __SNPT 0
+#define __SOPT 0
+
#if defined(__cplusplus)
#define _EXT(fp) reinterpret_cast<__sfileext*>((fp)->_ext._base)
#else