commit | e4e893d4dc97a2720b7c05f1714e8f31dfdb95ee | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Feb 03 13:14:38 2025 -0800 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Feb 03 13:14:38 2025 -0800 |
tree | 2bfdc9b859b8668872174fcb0f80ba95860087dd | |
parent | 0d1f18ce663eb81ea9be8903e8a8b8dc76092765 [diff] | |
parent | 3b6a13fa5fd0287582faf37d5d2c4fa756de43ff [diff] |
Merge "linker: have clang check the DL_ERROR_AFTER() format strings." into main
diff --git a/linker/linker_globals.h b/linker/linker_globals.h index e6b4bc6..777e7b8 100644 --- a/linker/linker_globals.h +++ b/linker/linker_globals.h
@@ -51,7 +51,7 @@ async_safe_format_fd(2, "\n"); \ } while (false) -bool DL_ERROR_AFTER(int target_sdk_version, const char* fmt, ...); +bool DL_ERROR_AFTER(int target_sdk_version, const char* fmt, ...) __printflike(2, 3); #define DL_ERR_AND_LOG(fmt, x...) \ do { \