summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-09-19 14:30:58 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-19 14:30:58 -0700
commit605023fc1414ec0d0d70fee44d511c64d78884e3 (patch)
treefba07e0884a2f6c9ef9c67fe97964a202132694b
parent0b8950cf1df8159363a8871ab8a0fb5ec5a7983b (diff)
parent67a05c0d165d779126a5fa8831cd95a0bf2fd1f2 (diff)
downloadextras-605023fc1414ec0d0d70fee44d511c64d78884e3.tar.gz
am 67a05c0d: Merge "use BIONIC implementation of mmap64"
* commit '67a05c0d165d779126a5fa8831cd95a0bf2fd1f2': use BIONIC implementation of mmap64
-rw-r--r--ext4_utils/ext4_utils.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext4_utils/ext4_utils.h b/ext4_utils/ext4_utils.h
index adc7d9e5..083aff56 100644
--- a/ext4_utils/ext4_utils.h
+++ b/ext4_utils/ext4_utils.h
@@ -45,15 +45,6 @@ extern "C" {
#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
-
extern int force;
#define warn(fmt, args...) do { fprintf(stderr, "warning: %s: " fmt "\n", __func__, ## args); } while (0)