Fixed building with a bazel with hdrs_check fixed again.
Change-Id: I015f66cd6e02e07efa367b96edd775015ac0abca
diff --git a/aos/common/logging/logging_interface.cc b/aos/common/logging/logging_interface.cc
index 0bec52c..0a6c968 100644
--- a/aos/common/logging/logging_interface.cc
+++ b/aos/common/logging/logging_interface.cc
@@ -1,11 +1,14 @@
-#include "aos/common/logging/logging_impl.h"
+#include "aos/common/logging/logging_interface.h"
#include <stdarg.h>
+#include <stdio.h>
#include <string.h>
#include <type_traits>
+#include <functional>
#include "aos/common/die.h"
+#include "aos/common/logging/context.h"
// This file only contains the code necessary to link (ie no implementations).
// See logging_impl.h for why this is necessary.
@@ -14,14 +17,6 @@
namespace logging {
namespace internal {
-::std::atomic<LogImplementation *> global_top_implementation(NULL);
-
-Context::Context()
- : implementation(global_top_implementation.load()),
- sequence(0) {
- cork_data.Reset();
-}
-
size_t ExecuteFormat(char *output, size_t output_size, const char *format,
va_list ap) {
static const char *const continued = "...\n";