commit | 3eb0a4705fecc8248f82140b20591bafa1f65d5a | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Thu Apr 26 22:36:20 2018 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Apr 26 22:36:20 2018 +0000 |
tree | 3b8067b3ee9d998947ef40d34cfb067ea991342f | |
parent | b83de268c6518f7bb622812f67062d53a3f2b14c [diff] | |
parent | 370d6008778436de2f59100d122ff4635ba22c91 [diff] |
Merge "Mark ui_print with __printflike." into pi-dev-plus-aosp
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();