summaryrefslogtreecommitdiffstats
path: root/minzip/SysUtil.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-01-13 19:11:20 +0100
committerDoug Zongker <dougz@android.com>2014-01-13 19:51:13 +0100
commit2768efdf9fe67d179f6cb733e6541f04b6f2bf46 (patch)
treece08c462dbeb41f1c2b23ad22279e310bf03f780 /minzip/SysUtil.h
parentam 27efc8f9: am 617d1cad: Merge "minui: do not use flexible array initialization" (diff)
downloadandroid_bootable_recovery-2768efdf9fe67d179f6cb733e6541f04b6f2bf46.tar
android_bootable_recovery-2768efdf9fe67d179f6cb733e6541f04b6f2bf46.tar.gz
android_bootable_recovery-2768efdf9fe67d179f6cb733e6541f04b6f2bf46.tar.bz2
android_bootable_recovery-2768efdf9fe67d179f6cb733e6541f04b6f2bf46.tar.lz
android_bootable_recovery-2768efdf9fe67d179f6cb733e6541f04b6f2bf46.tar.xz
android_bootable_recovery-2768efdf9fe67d179f6cb733e6541f04b6f2bf46.tar.zst
android_bootable_recovery-2768efdf9fe67d179f6cb733e6541f04b6f2bf46.zip
Diffstat (limited to '')
-rw-r--r--minzip/SysUtil.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/minzip/SysUtil.h b/minzip/SysUtil.h
index ec3a4bcfb..55cd0e769 100644
--- a/minzip/SysUtil.h
+++ b/minzip/SysUtil.h
@@ -27,17 +27,6 @@ INLINE void sysCopyMap(MemMapping* dst, const MemMapping* src) {
}
/*
- * Load a file into a new shared memory segment. All data from the current
- * offset to the end of the file is pulled in.
- *
- * The segment is read-write, allowing VM fixups. (It should be modified
- * to support .gz/.zip compressed data.)
- *
- * On success, "pMap" is filled in, and zero is returned.
- */
-int sysLoadFileInShmem(int fd, MemMapping* pMap);
-
-/*
* Map a file (from fd's current offset) into a shared,
* read-only memory segment.
*
@@ -46,12 +35,6 @@ int sysLoadFileInShmem(int fd, MemMapping* pMap);
int sysMapFileInShmem(int fd, MemMapping* pMap);
/*
- * Like sysMapFileInShmem, but on only part of a file.
- */
-int sysMapFileSegmentInShmem(int fd, off_t start, long length,
- MemMapping* pMap);
-
-/*
* Release the pages associated with a shared memory segment.
*
* This does not free "pMap"; it just releases the memory.