diff options
author | Elliott Hughes <enh@google.com> | 2013-09-20 09:58:54 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-09-20 09:58:54 -0700 |
commit | 60549075e83e615179720f930c618a530462bc3c (patch) | |
tree | 1a50349bb76d2b29250a237c26544b74ac9056d0 /libsparse | |
parent | b5e14ead1ea7554914e9f332f51240520fb22eba (diff) | |
parent | 4d5d633bf862dbb0a960019e80fadc40c93177f0 (diff) | |
download | system_core-60549075e83e615179720f930c618a530462bc3c.tar.gz system_core-60549075e83e615179720f930c618a530462bc3c.tar.bz2 system_core-60549075e83e615179720f930c618a530462bc3c.zip |
am 4d5d633b: am 20eb7ac2: am 3c8bdef0: Merge "libsparse: Use BIONIC implementation of mmap64()"
* commit '4d5d633bf862dbb0a960019e80fadc40c93177f0':
libsparse: Use BIONIC implementation of mmap64()
Diffstat (limited to 'libsparse')
-rw-r--r-- | libsparse/output_file.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libsparse/output_file.c b/libsparse/output_file.c index 5014e4a87..24280227e 100644 --- a/libsparse/output_file.c +++ b/libsparse/output_file.c @@ -46,15 +46,6 @@ #define off64_t off_t #endif -#ifdef __BIONIC__ -extern void* __mmap2(void *, size_t, int, int, int, off_t); -static inline void *mmap64(void *addr, size_t length, int prot, int flags, - int fd, off64_t offset) -{ - return __mmap2(addr, length, prot, flags, fd, offset >> 12); -} -#endif - #define min(a, b) \ ({ typeof(a) _a = (a); typeof(b) _b = (b); (_a < _b) ? _a : _b; }) |