summaryrefslogtreecommitdiffstats
path: root/otautil/DirUtil.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-07-25 16:44:51 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-07-25 16:44:51 +0200
commit32a7f2c1c7c22bc7a6912ceda8c16f8309b8e112 (patch)
treecff74e879b13d5d0f7478ac14645ab68efa23b4f /otautil/DirUtil.h
parentMerge "roots.cpp: Reformatting the file." am: ac70ffcc85 am: 922a310d36 am: bba1e66f74 am: 11e6d8ee85 (diff)
parentMerge "otautil: Delete dirUnlinkHierarchy()." am: 031661d4a9 am: 993cec5cc9 am: 633aeba594 (diff)
downloadandroid_bootable_recovery-32a7f2c1c7c22bc7a6912ceda8c16f8309b8e112.tar
android_bootable_recovery-32a7f2c1c7c22bc7a6912ceda8c16f8309b8e112.tar.gz
android_bootable_recovery-32a7f2c1c7c22bc7a6912ceda8c16f8309b8e112.tar.bz2
android_bootable_recovery-32a7f2c1c7c22bc7a6912ceda8c16f8309b8e112.tar.lz
android_bootable_recovery-32a7f2c1c7c22bc7a6912ceda8c16f8309b8e112.tar.xz
android_bootable_recovery-32a7f2c1c7c22bc7a6912ceda8c16f8309b8e112.tar.zst
android_bootable_recovery-32a7f2c1c7c22bc7a6912ceda8c16f8309b8e112.zip
Diffstat (limited to 'otautil/DirUtil.h')
-rw-r--r--otautil/DirUtil.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/otautil/DirUtil.h b/otautil/DirUtil.h
index 85b83c387..beecc1081 100644
--- a/otautil/DirUtil.h
+++ b/otautil/DirUtil.h
@@ -17,13 +17,8 @@
#ifndef MINZIP_DIRUTIL_H_
#define MINZIP_DIRUTIL_H_
-#include <stdbool.h>
#include <utime.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
struct selabel_handle;
/* Like "mkdir -p", try to guarantee that all directories
@@ -43,12 +38,4 @@ int dirCreateHierarchy(const char *path, int mode,
const struct utimbuf *timestamp, bool stripFileName,
struct selabel_handle* sehnd);
-/* rm -rf <path>
- */
-int dirUnlinkHierarchy(const char *path);
-
-#ifdef __cplusplus
-}
-#endif
-
#endif // MINZIP_DIRUTIL_H_