aboutsummaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-13 13:04:32 -0700
committerElliott Hughes <enh@google.com>2015-04-13 13:04:32 -0700
commit985022a6231814de2bfaf621fd0725c48bb98411 (patch)
treec3658b7885fa472c0da0cfcf9024a840faac714a /screen_ui.h
parent0e3781ef9af2df648f54eb2a7765bef7b6b5b22e (diff)
downloadbootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.zip
bootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.tar.gz
bootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.tar.bz2
Remove unnecessary globals.
Change-Id: I76a042432aede08ceaf250319cf5eeb25d601150
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 590e5c8..50a4564 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -98,7 +98,7 @@ class ScreenRecoveryUI : public RecoveryUI {
bool show_menu;
int menu_top, menu_items, menu_sel;
- pthread_t progress_t;
+ pthread_t progress_thread_;
int animation_fps;
int installing_frames;
@@ -112,8 +112,9 @@ class ScreenRecoveryUI : public RecoveryUI {
void draw_screen_locked();
void update_screen_locked();
void update_progress_locked();
- static void* progress_thread(void* cookie);
- void progress_loop();
+
+ static void* ProgressThreadStartRoutine(void* data);
+ void ProgressThreadLoop();
void ShowFile(FILE*);
void PutChar(char);