recovery: Compatibility with upstream minui change
* minui is changing a lot upstream. We won't merge it here, but
it's being used in another branch. Add compatibility in CWM
so that we can move forward.
Change-Id: I6866ec2e4dbbb3e7682595aef91645b6de547435
diff --git a/minui/minui.h b/minui/minui.h
index ccd501f..b8ca40b 100644
--- a/minui/minui.h
+++ b/minui/minui.h
@@ -79,6 +79,9 @@
int res_create_surface(const char* name, gr_surface* pSurface);
int res_create_localized_surface(const char* name, gr_surface* pSurface);
void res_free_surface(gr_surface surface);
+static inline int res_create_display_surface(const char* name, gr_surface* pSurface) {
+ return res_create_surface(name, pSurface);
+}
#ifdef __cplusplus
}