summaryrefslogtreecommitdiffstats
path: root/otautil/DirUtil.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-07-25 05:30:29 +0200
committerTao Bao <tbao@google.com>2017-07-25 05:35:48 +0200
commit7934985e0cac4a3849418af3b8c9671f4d61078a (patch)
treea878d6b94fd06655db99ef7b506603782cf709c4 /otautil/DirUtil.h
parentMerge "roots.cpp: Reformatting the file." (diff)
downloadandroid_bootable_recovery-7934985e0cac4a3849418af3b8c9671f4d61078a.tar
android_bootable_recovery-7934985e0cac4a3849418af3b8c9671f4d61078a.tar.gz
android_bootable_recovery-7934985e0cac4a3849418af3b8c9671f4d61078a.tar.bz2
android_bootable_recovery-7934985e0cac4a3849418af3b8c9671f4d61078a.tar.lz
android_bootable_recovery-7934985e0cac4a3849418af3b8c9671f4d61078a.tar.xz
android_bootable_recovery-7934985e0cac4a3849418af3b8c9671f4d61078a.tar.zst
android_bootable_recovery-7934985e0cac4a3849418af3b8c9671f4d61078a.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_