diff options
author | Elliott Hughes <enh@google.com> | 2016-06-30 18:28:42 +0200 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2016-06-30 18:28:42 +0200 |
commit | 83ce7555183a9aa5bac6ccb82d3fa56447d22345 (patch) | |
tree | 5979501047000d1287f89d7108bca508c1edc5fd | |
parent | Merge "Minor minadbd cleanup." (diff) | |
download | android_bootable_recovery-83ce7555183a9aa5bac6ccb82d3fa56447d22345.tar android_bootable_recovery-83ce7555183a9aa5bac6ccb82d3fa56447d22345.tar.gz android_bootable_recovery-83ce7555183a9aa5bac6ccb82d3fa56447d22345.tar.bz2 android_bootable_recovery-83ce7555183a9aa5bac6ccb82d3fa56447d22345.tar.lz android_bootable_recovery-83ce7555183a9aa5bac6ccb82d3fa56447d22345.tar.xz android_bootable_recovery-83ce7555183a9aa5bac6ccb82d3fa56447d22345.tar.zst android_bootable_recovery-83ce7555183a9aa5bac6ccb82d3fa56447d22345.zip |
Diffstat (limited to '')
-rw-r--r-- | updater/install.cpp | 3 | ||||
-rw-r--r-- | updater/install.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/updater/install.cpp b/updater/install.cpp index 11d5215c3..3e7e9285a 100644 --- a/updater/install.cpp +++ b/updater/install.cpp @@ -79,8 +79,7 @@ static void uiPrint(State* state, const std::string& buffer) { fprintf(stderr, "%s", buffer.c_str()); } -__attribute__((__format__(printf, 2, 3))) __nonnull((2)) -void uiPrintf(State* state, const char* format, ...) { +void uiPrintf(State* _Nonnull state, const char* _Nonnull format, ...) { std::string error_msg; va_list ap; diff --git a/updater/install.h b/updater/install.h index 70e343404..b3b8a4dd5 100644 --- a/updater/install.h +++ b/updater/install.h @@ -20,8 +20,8 @@ void RegisterInstallFunctions(); // uiPrintf function prints msg to screen as well as logs -void uiPrintf(State* state, const char* format, ...); +void uiPrintf(State* _Nonnull state, const char* _Nonnull format, ...) __attribute__((__format__(printf, 2, 3))); -static int make_parents(char* name); +static int make_parents(char* _Nonnull name); #endif |