From 3c38f5623f99189c3ee943db4c3c37d50279b0e5 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Tue, 8 Nov 2016 13:24:27 -0800 Subject: otautil: Clean up obsolete includes. external/zlib and external/safe-iop/include were used by Zip.c, which became obsolete after [1]. Removing - : we no longer call assert(3); - : we no longer use PATH_MAX; - : we don't need FILE anymore; - : no more malloc(3)/calloc(3); - : was once needed for lseek(2); - : no more memset(3). Adding - for SIZE_MAX. [1] commit 8cf5c8f60f51049278b08ae4cbc31df397b651fd: "Replace minzip with libziparchive". Test: `mmma bootable/recovery` Change-Id: I349e909ba83d0f6ade5f92856ce3934f29fdca6c (cherry picked from commit 14b61e7b961bb49787ec9ec8f8f7a95c8d12b71c) --- otautil/SysUtil.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'otautil/SysUtil.cpp') diff --git a/otautil/SysUtil.cpp b/otautil/SysUtil.cpp index 5156514f0..a2133b953 100644 --- a/otautil/SysUtil.cpp +++ b/otautil/SysUtil.cpp @@ -16,18 +16,12 @@ #include "SysUtil.h" -#include #include #include -#include #include -#include -#include -#include #include #include #include -#include #include #include -- cgit v1.2.3