aboutsummaryrefslogtreecommitdiff
path: root/adb_io.h
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-07-09 20:35:09 +0000
committerDan Albert <danalbert@google.com>2015-07-09 20:35:09 +0000
commit3d978e686996480f3e5e1c7725c2bfdea276fe04 (patch)
tree07cfc912d2f13cb587d368ef5e1281e11c4c1a28 /adb_io.h
parent7d8fc468e4615cf1bcc9f47f3f98f28c704b205c (diff)
downloadadb-3d978e686996480f3e5e1c7725c2bfdea276fe04.tar.gz
Revert "Turn on -Wformat-nonliteral."
One of my build aliases doesn't play nice with USE_MINGW=1, so my build lied to me. Will revert until I fix it up. This reverts commit 7d8fc468e4615cf1bcc9f47f3f98f28c704b205c. Change-Id: I7905c5ae5ee85fb2d228ce63d81c79f140998c18
Diffstat (limited to 'adb_io.h')
-rw-r--r--adb_io.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/adb_io.h b/adb_io.h
index bd3b8697..8d50a6dd 100644
--- a/adb_io.h
+++ b/adb_io.h
@@ -21,8 +21,6 @@
#include <string>
-#include "base/macros.h"
-
// Sends the protocol "OKAY" message.
bool SendOkay(int fd);
@@ -56,6 +54,6 @@ bool WriteFdExactly(int fd, const char* s);
bool WriteFdExactly(int fd, const std::string& s);
// Same as above, but formats the string to send.
-bool WriteFdFmt(int fd, const char* fmt, ...) ATTRIBUTE_FORMAT(2, 3);
+bool WriteFdFmt(int fd, const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3)));
#endif /* ADB_IO_H */