commit | 3d655c0ab886b951ed9b6b0f2a26d89a842dbe31 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Thu Apr 26 20:27:50 2018 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Apr 26 20:27:50 2018 +0000 |
tree | 3b8067b3ee9d998947ef40d34cfb067ea991342f | |
parent | 611de8ca198bb5008391e570e5a807893cf81d5b [diff] | |
parent | 6ec9ddddda7f280adebf0006e2546b3a54678aa2 [diff] |
Merge "Mark ui_print with __printflike."
diff --git a/common.h b/common.h index a851306..4228e71 100644 --- a/common.h +++ b/common.h
@@ -40,7 +40,7 @@ // fopen a file, mounting volumes and making parent dirs as necessary. FILE* fopen_path(const std::string& path, const char* mode); -void ui_print(const char* format, ...); +void ui_print(const char* format, ...) __printflike(1, 2); bool is_ro_debuggable();