summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-09 02:22:36 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-09 02:22:36 +0200
commitfbde407e4c72965aae4ea6dff7493e30af307ca5 (patch)
tree1d6cd4cb955dc89e313a6b3f894a10af4d833504 /screen_ui.h
parentMerge "Remove the fixed screen size assumptions." (diff)
parentEnable printf format argument checking. (diff)
downloadandroid_bootable_recovery-fbde407e4c72965aae4ea6dff7493e30af307ca5.tar
android_bootable_recovery-fbde407e4c72965aae4ea6dff7493e30af307ca5.tar.gz
android_bootable_recovery-fbde407e4c72965aae4ea6dff7493e30af307ca5.tar.bz2
android_bootable_recovery-fbde407e4c72965aae4ea6dff7493e30af307ca5.tar.lz
android_bootable_recovery-fbde407e4c72965aae4ea6dff7493e30af307ca5.tar.xz
android_bootable_recovery-fbde407e4c72965aae4ea6dff7493e30af307ca5.tar.zst
android_bootable_recovery-fbde407e4c72965aae4ea6dff7493e30af307ca5.zip
Diffstat (limited to '')
-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();