From 2768efdf9fe67d179f6cb733e6541f04b6f2bf46 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Mon, 13 Jan 2014 10:11:20 -0800 Subject: 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 --- minzip/SysUtil.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'minzip/SysUtil.h') diff --git a/minzip/SysUtil.h b/minzip/SysUtil.h index ec3a4bcfb..55cd0e769 100644 --- a/minzip/SysUtil.h +++ b/minzip/SysUtil.h @@ -26,17 +26,6 @@ INLINE void sysCopyMap(MemMapping* dst, const MemMapping* src) { *dst = *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. @@ -45,12 +34,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. * -- cgit v1.2.3