From 23412e6f143c099e6c2470ad6bf98a2783eb0452 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Thu, 23 Jul 2009 10:16:07 -0700 Subject: fix compile warnings in recovery, change images gcc 4.4 complains about some of the recovery ui functions not being declared. To include the header, we have to fix the 'volatile' declaration (otherwise there's a compiler error). Move the dream-specific images to vendor/htc/dream, make the default images a generic phone. --- recovery_ui.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recovery_ui.h') diff --git a/recovery_ui.h b/recovery_ui.h index 671fe40ce..8818ef303 100644 --- a/recovery_ui.h +++ b/recovery_ui.h @@ -21,13 +21,13 @@ // *key_pressed is an array of KEY_MAX+1 bytes indicating which other // keys are already pressed. Return true if the text display should // be toggled. -extern int device_toggle_display(char* key_pressed, int key_code); +extern int device_toggle_display(volatile char* key_pressed, int key_code); // Called in the input thread when a new key (key_code) is pressed. // *key_pressed is an array of KEY_MAX+1 bytes indicating which other // keys are already pressed. Return true if the device should reboot // immediately. -extern int device_reboot_now(char* key_pressed, int key_code); +extern int device_reboot_now(volatile char* key_pressed, int key_code); // Called from the main thread when recovery is waiting for input and // a key is pressed. key is the code of the key pressed; visible is -- cgit v1.2.3