summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-09-19 21:22:48 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-09-19 21:22:48 +0000
commit67a05c0d165d779126a5fa8831cd95a0bf2fd1f2 (patch)
tree0c7246d6861c65d20c28d54efcdf483fcb7c2aeb
parent1b72e0d0fa93e828facb3f4f2e84facff87d81fb (diff)
parent01d722da4a1ce6d5e1cbd7f81486f5a6fd8eb61d (diff)
downloadextras-67a05c0d165d779126a5fa8831cd95a0bf2fd1f2.tar.gz
Merge "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 0a9bd564..17d225a4 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)