aboutsummaryrefslogtreecommitdiff
path: root/adb.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-06-26 13:06:15 -0700
committerElliott Hughes <enh@google.com>2018-06-26 13:07:21 -0700
commit874c941b99ddb6525b4f02e731a772f13ae64dca (patch)
tree441a2fe681f1b73c9597db58b9d3aca0630dc79b /adb.h
parentfacb3d48e4b9a6dcec12b91d1ef3a8d21ce39148 (diff)
downloadadb-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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/adb.h b/adb.h
index ede55da3..c8841661 100644
--- a/adb.h
+++ b/adb.h
@@ -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)));