diff options
author | Elliott Hughes <enh@google.com> | 2018-06-26 13:06:15 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-06-26 13:07:21 -0700 |
commit | 874c941b99ddb6525b4f02e731a772f13ae64dca (patch) | |
tree | 441a2fe681f1b73c9597db58b9d3aca0630dc79b /adb.h | |
parent | facb3d48e4b9a6dcec12b91d1ef3a8d21ce39148 (diff) | |
download | adb-874c941b99ddb6525b4f02e731a772f13ae64dca.tar.gz |
Simplify __attribute__((__printf__)) use.
We don't need this now everyone's using clang...
Bug: http://b/69933068
Test: ran tests
Change-Id: I88f0cf03981ade47e210387fd6f3a2706dfeb9b8
Diffstat (limited to 'adb.h')
-rw-r--r-- | adb.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -124,8 +124,6 @@ inline bool ConnectionStateIsOnline(ConnectionState state) { void print_packet(const char* label, apacket* p); -// These use the system (v)fprintf, not the adb prefixed ones defined in sysdeps.h, so they -// shouldn't be tagged with ADB_FORMAT_ARCHETYPE. void fatal(const char* fmt, ...) __attribute__((noreturn, format(__printf__, 1, 2))); void fatal_errno(const char* fmt, ...) __attribute__((noreturn, format(__printf__, 1, 2))); |