summaryrefslogtreecommitdiffstats
path: root/otautil/DirUtil.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-07-25 16:28:52 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-07-25 16:28:52 +0200
commit993cec5cc9ca780346d80625f9400d2e214f303a (patch)
treea8c7519223c05b17298488d2d66132f889c80577 /otautil/DirUtil.h
parentMerge "roots.cpp: Reformatting the file." (diff)
parentMerge "otautil: Delete dirUnlinkHierarchy()." (diff)
downloadandroid_bootable_recovery-993cec5cc9ca780346d80625f9400d2e214f303a.tar
android_bootable_recovery-993cec5cc9ca780346d80625f9400d2e214f303a.tar.gz
android_bootable_recovery-993cec5cc9ca780346d80625f9400d2e214f303a.tar.bz2
android_bootable_recovery-993cec5cc9ca780346d80625f9400d2e214f303a.tar.lz
android_bootable_recovery-993cec5cc9ca780346d80625f9400d2e214f303a.tar.xz
android_bootable_recovery-993cec5cc9ca780346d80625f9400d2e214f303a.tar.zst
android_bootable_recovery-993cec5cc9ca780346d80625f9400d2e214f303a.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_