summaryrefslogtreecommitdiffstats
path: root/init/log.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2017-04-06 16:30:22 -0700
committerTom Cherry <tomcherry@google.com>2017-04-06 18:06:34 -0700
commit3f5eaae526413a29de899270714469c76dc91ec8 (patch)
treec7de454140682dad1661449b29badf31f001e345 /init/log.cpp
parentb15882faab26af76f0bca30c2ce4ef4890eb4502 (diff)
downloadcore-3f5eaae526413a29de899270714469c76dc91ec8.tar.gz
core-3f5eaae526413a29de899270714469c76dc91ec8.tar.bz2
core-3f5eaae526413a29de899270714469c76dc91ec8.zip
init: more header cleanup
Remove includes of "log.h" that really want <android-base/logging.h> Fix header include order Remove headers included in .cpp files that their associated .h already includes Remove some unused headers Test: boot bullhead Change-Id: I2b415adfe86a5c8bbe4fb1ebc53c7b0ee2253824
Diffstat (limited to 'init/log.cpp')
-rw-r--r--init/log.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/log.cpp b/init/log.cpp
index 6b32526df..ee6489b9a 100644
--- a/init/log.cpp
+++ b/init/log.cpp
@@ -17,9 +17,10 @@
#include "log.h"
#include <fcntl.h>
+#include <linux/audit.h>
#include <string.h>
-#include <linux/audit.h>
+#include <android-base/logging.h>
#include <netlink/netlink.h>
#include <selinux/selinux.h>