summaryrefslogtreecommitdiffstats
path: root/applypatch/utils.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-03-17 02:00:20 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-03-17 02:00:20 +0100
commit91f8574061cf29ef4924fb94dcada257cfb67a58 (patch)
treee5020480b29bd7af1cc117a137aa14be1306a858 /applypatch/utils.h
parentMerge "updater: Minor clean up to EnumerateStash()." (diff)
parentMerge "More cleanup to imgdiff & imgpatch" (diff)
downloadandroid_bootable_recovery-91f8574061cf29ef4924fb94dcada257cfb67a58.tar
android_bootable_recovery-91f8574061cf29ef4924fb94dcada257cfb67a58.tar.gz
android_bootable_recovery-91f8574061cf29ef4924fb94dcada257cfb67a58.tar.bz2
android_bootable_recovery-91f8574061cf29ef4924fb94dcada257cfb67a58.tar.lz
android_bootable_recovery-91f8574061cf29ef4924fb94dcada257cfb67a58.tar.xz
android_bootable_recovery-91f8574061cf29ef4924fb94dcada257cfb67a58.tar.zst
android_bootable_recovery-91f8574061cf29ef4924fb94dcada257cfb67a58.zip
Diffstat (limited to 'applypatch/utils.h')
-rw-r--r--applypatch/utils.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/applypatch/utils.h b/applypatch/utils.h
deleted file mode 100644
index c7c8e90e2..000000000
--- a/applypatch/utils.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (C) 2009 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef _BUILD_TOOLS_APPLYPATCH_UTILS_H
-#define _BUILD_TOOLS_APPLYPATCH_UTILS_H
-
-#include <inttypes.h>
-#include <stdio.h>
-
-// Read and write little-endian values of various sizes.
-
-void Write4(int value, FILE* f);
-void Write8(int64_t value, FILE* f);
-int Read2(const void* p);
-int Read4(const void* p);
-int64_t Read8(const void* p);
-
-#endif // _BUILD_TOOLS_APPLYPATCH_UTILS_H