summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/utils.cpp
diff options
context:
space:
mode:
author Mark Salyzyn <salyzyn@google.com> 2016-12-28 16:48:57 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-12-28 16:48:57 +0000
commit1efda0b1d68682116cca9e7e6ab513ae59d60d8b (patch)
treed733d77cbafe352fd20935eab60435a365beb8af /cmds/dumpstate/utils.cpp
parentc47aa53c84cc7ac0194057c3afac005437d5ae2b (diff)
parenta5e161b1207ef447a51e99856097d69d4a6111e1 (diff)
Merge "Replace cutils/log.h and rationalize log/log.h and android/log.h"
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>