Revert "Some cleanups to recovery."

This reverts commit c0319b60f56d445c2d1c74f551e01f069b028fe6.

Reason for revert: Broke builds.

Change-Id: I82aa880b83de5ae6c36fd7567cb001920559a972
diff --git a/common.h b/common.h
index f10fe67..a948fb1 100644
--- a/common.h
+++ b/common.h
@@ -17,16 +17,15 @@
 #ifndef RECOVERY_COMMON_H
 #define RECOVERY_COMMON_H
 
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdarg.h>
 
 #define STRINGIFY(x) #x
 #define EXPAND(x) STRINGIFY(x)
 
-class RecoveryUI;
-
-extern RecoveryUI* ui;
 extern bool modified_flash;
+typedef struct fstab_rec Volume;
 
 // fopen a file, mounting volumes and making parent dirs as necessary.
 FILE* fopen_path(const char *path, const char *mode);