OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b72e0d
)
use BIONIC implementation of mmap64
author
Andrew Boie
<andrew.p.boie@intel.com>
Wed, 19 Dec 2012 16:39:49 +0000
(08:39 -0800)
committer
Andrew Boie
<andrew.p.boie@intel.com>
Wed, 18 Sep 2013 21:43:25 +0000
(14:43 -0700)
Change-Id: Idb0c3d3bb98f22ea7d78043b786e931613377b02
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
ext4_utils/ext4_utils.h
patch
|
blob
|
history
diff --git
a/ext4_utils/ext4_utils.h
b/ext4_utils/ext4_utils.h
index
0a9bd56
..
17d225a
100644
(file)
--- 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)