From 51a0e82eb29a6dfc79f93479883383fbdbf8bcc2 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Wed, 5 Sep 2012 15:24:24 -0400 Subject: TWRP-ify AOSP code Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere --- libcrecovery/common.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libcrecovery/common.h (limited to 'libcrecovery/common.h') diff --git a/libcrecovery/common.h b/libcrecovery/common.h new file mode 100644 index 000000000..59af22e53 --- /dev/null +++ b/libcrecovery/common.h @@ -0,0 +1,10 @@ +#ifndef LIBCRECOVERY_COMMON_H +#define LIBCRECOVERY_COMMON_H + +#include + +int __system(const char *command); +FILE * __popen(const char *program, const char *type); +int __pclose(FILE *iop); + +#endif \ No newline at end of file -- cgit v1.2.3