summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/utils.cpp
diff options
context:
space:
mode:
author Mark Salyzyn <salyzyn@google.com> 2016-12-28 16:58:07 +0000
committer android-build-merger <android-build-merger@google.com> 2016-12-28 16:58:07 +0000
commit7e92307cd8d5c22daeeae7cb6ab5943be0226e7a (patch)
treed733d77cbafe352fd20935eab60435a365beb8af /cmds/dumpstate/utils.cpp
parente6d3ac98341ce53109e97c2ab1761017f50bde4a (diff)
parent1efda0b1d68682116cca9e7e6ab513ae59d60d8b (diff)
Merge "Replace cutils/log.h and rationalize log/log.h and android/log.h"
am: 1efda0b1d6 Change-Id: I263fa3a582bbff546f1281205b539258ee5dab49
Diffstat (limited to 'cmds/dumpstate/utils.cpp')
-rw-r--r--cmds/dumpstate/utils.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmds/dumpstate/utils.cpp b/cmds/dumpstate/utils.cpp
index 0d9cce28bb..c53b0b0624 100644
--- a/cmds/dumpstate/utils.cpp
+++ b/cmds/dumpstate/utils.cpp
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#define LOG_TAG "dumpstate"
+
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
@@ -23,24 +25,23 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string>
#include <string.h>
#include <sys/capability.h>
#include <sys/inotify.h>
+#include <sys/klog.h>
+#include <sys/prctl.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/wait.h>
-#include <sys/klog.h>
#include <time.h>
#include <unistd.h>
-#include <vector>
-#include <sys/prctl.h>
-#define LOG_TAG "dumpstate"
+#include <string>
+#include <vector>
+#include <android/log.h>
#include <android-base/file.h>
#include <cutils/debugger.h>
-#include <cutils/log.h>
#include <cutils/properties.h>
#include <cutils/sockets.h>
#include <private/android_filesystem_config.h>