summaryrefslogtreecommitdiffstats
path: root/default_recovery_ui.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-07-23 19:16:07 +0200
committerDoug Zongker <dougz@android.com>2009-07-23 19:36:43 +0200
commit23412e6f143c099e6c2470ad6bf98a2783eb0452 (patch)
tree5418f1983c509a37f15e969d6ec1cbced8eae278 /default_recovery_ui.c
parentresolved conflicts for merge of 64893ccc to master (diff)
downloadandroid_bootable_recovery-23412e6f143c099e6c2470ad6bf98a2783eb0452.tar
android_bootable_recovery-23412e6f143c099e6c2470ad6bf98a2783eb0452.tar.gz
android_bootable_recovery-23412e6f143c099e6c2470ad6bf98a2783eb0452.tar.bz2
android_bootable_recovery-23412e6f143c099e6c2470ad6bf98a2783eb0452.tar.lz
android_bootable_recovery-23412e6f143c099e6c2470ad6bf98a2783eb0452.tar.xz
android_bootable_recovery-23412e6f143c099e6c2470ad6bf98a2783eb0452.tar.zst
android_bootable_recovery-23412e6f143c099e6c2470ad6bf98a2783eb0452.zip
Diffstat (limited to 'default_recovery_ui.c')
-rw-r--r--default_recovery_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/default_recovery_ui.c b/default_recovery_ui.c
index a2e4beafe..d4e620403 100644
--- a/default_recovery_ui.c
+++ b/default_recovery_ui.c
@@ -29,11 +29,11 @@ char* MENU_ITEMS[] = { "reboot system now",
"wipe cache partition",
NULL };
-int device_toggle_display(char* key_pressed, int key_code) {
+int device_toggle_display(volatile char* key_pressed, int key_code) {
return key_code == KEY_HOME;
}
-int device_reboot_now(char* key_pressed, int key_code) {
+int device_reboot_now(volatile char* key_pressed, int key_code) {
return 0;
}