aboutsummaryrefslogtreecommitdiffstats
path: root/minzip/SysUtil.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-01-13 10:11:20 -0800
committerDoug Zongker <dougz@android.com>2014-01-13 10:51:13 -0800
commit2768efdf9fe67d179f6cb733e6541f04b6f2bf46 (patch)
treece08c462dbeb41f1c2b23ad22279e310bf03f780 /minzip/SysUtil.h
parentf3819c271e34559b123bb6b52210923ef1b8f65a (diff)
downloadbootable_recovery-2768efdf9fe67d179f6cb733e6541f04b6f2bf46.zip
bootable_recovery-2768efdf9fe67d179f6cb733e6541f04b6f2bf46.tar.gz
bootable_recovery-2768efdf9fe67d179f6cb733e6541f04b6f2bf46.tar.bz2
remove dead code from minzip
minzip had some features that were used when reading APKs, but APK handling now uses libziparchive instead of minzip. Remove these unused functions. Change-Id: Iead89209a716bfe9e3d339bf85b3e97e33a41f35
Diffstat (limited to 'minzip/SysUtil.h')
-rw-r--r--minzip/SysUtil.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/minzip/SysUtil.h b/minzip/SysUtil.h
index ec3a4bc..55cd0e7 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.