summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-09 03:03:29 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-09 03:03:29 +0200
commit4c035efb5511dc259a0f4b8565001c364d0b1830 (patch)
tree1d6cd4cb955dc89e313a6b3f894a10af4d833504 /screen_ui.h
parentam 0d4f2b6d: am 900c9a61: Merge "Remove the fixed screen size assumptions." (diff)
parentam fbde407e: Merge "Enable printf format argument checking." (diff)
downloadandroid_bootable_recovery-4c035efb5511dc259a0f4b8565001c364d0b1830.tar
android_bootable_recovery-4c035efb5511dc259a0f4b8565001c364d0b1830.tar.gz
android_bootable_recovery-4c035efb5511dc259a0f4b8565001c364d0b1830.tar.bz2
android_bootable_recovery-4c035efb5511dc259a0f4b8565001c364d0b1830.tar.lz
android_bootable_recovery-4c035efb5511dc259a0f4b8565001c364d0b1830.tar.xz
android_bootable_recovery-4c035efb5511dc259a0f4b8565001c364d0b1830.tar.zst
android_bootable_recovery-4c035efb5511dc259a0f4b8565001c364d0b1830.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 210fd3e17..82647ac75 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -47,11 +47,11 @@ class ScreenRecoveryUI : public RecoveryUI {
bool WasTextEverVisible();
// printing messages
- void Print(const char* fmt, ...); // __attribute__((format(printf, 1, 2)));
+ void Print(const char* fmt, ...) __printflike(2, 3);
// menu display
void StartMenu(const char* const * headers, const char* const * items,
- int initial_selection);
+ int initial_selection);
int SelectMenu(int sel);
void EndMenu();