Use anonymous namespace in unit tests.

This is the convention for hidden symbols in C++, makes test boilerplate
hidden and mean you can't forget to make things static.

Change-Id: Ie59df08c7f2fdbd6ed3d6b9db34a981f4e61a133
diff --git a/src/fdt_test.cc b/src/fdt_test.cc
index 9d0e4a9..1006c8f 100644
--- a/src/fdt_test.cc
+++ b/src/fdt_test.cc
@@ -21,6 +21,8 @@
 
 #include <gmock/gmock.h>
 
+namespace
+{
 using ::testing::Eq;
 
 /*
@@ -48,7 +50,7 @@
  * | xxd -i
  */
 
-static const uint8_t test_dtb[] = {
+const uint8_t test_dtb[] = {
 	0xd0, 0x0d, 0xfe, 0xed, 0x00, 0x00, 0x01, 0x44, 0x00, 0x00, 0x00, 0x38,
 	0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x11,
 	0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c,
@@ -82,3 +84,5 @@
 	EXPECT_THAT(fdt_total_size((struct fdt_header *)&test_dtb[0]),
 		    Eq(sizeof(test_dtb)));
 }
+
+} /* namespace */