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 459df8f3a14d4c614f0211049800cf7cad6d30ad.
Change-Id: I7905c5ae5ee85fb2d228ce63d81c79f140998c18
diff --git a/adb/adb_io.h b/adb/adb_io.h
index bd3b869..8d50a6d 100644
--- a/adb/adb_io.h
+++ b/adb/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 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 */