Move declarations to follow their definitions
Helpfully, the only "error" this caused was the compiler not realizing
any more than some of the arguments are printf formats...
Change-Id: I783a0ce04777c4ccfc48085f31f647a429bdd73b
diff --git a/aos/common/logging/BUILD b/aos/common/logging/BUILD
index 9223c44..78d1cbd 100644
--- a/aos/common/logging/BUILD
+++ b/aos/common/logging/BUILD
@@ -71,14 +71,11 @@
srcs = [
'logging_interface.cc',
],
- copts = [
- # TODO(austin): This is wrong.
- '-Wno-error=format-nonliteral'
- ],
deps = [
'//aos/common:die',
'//aos/common/libc:aos_strerror',
'//aos/linux_code/logging:linux_interface',
+ '//aos/common:macros',
],
)