summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2016-09-28 12:07:20 -0500
committerMark Salyzyn2016-09-30 14:47:05 -0500
commit66ce3e08c5632a20ea66bde6dd76397041edf034 (patch)
treee77589e0f6c62e8ac1c8faabe2d9dd2934d3ecee /logwrapper/logwrapper.c
parent0dd4431072cce3c62876b728cb20aa5b77b11a8d (diff)
downloadplatform-system-core-66ce3e08c5632a20ea66bde6dd76397041edf034.tar.gz
platform-system-core-66ce3e08c5632a20ea66bde6dd76397041edf034.tar.xz
platform-system-core-66ce3e08c5632a20ea66bde6dd76397041edf034.zip
system/core Replace cutils/log.h with android/log.h
Should use android/log.h instead of cutils/log.h as a good example to all others. Adjust header order to comply with Android Coding standards. Test: Compile Bug: 26552300 Bug: 31289077 Change-Id: I2c9cbbbd64d8dccf2d44356361d9742e4a9b9031
Diffstat (limited to 'logwrapper/logwrapper.c')
-rw-r--r--logwrapper/logwrapper.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/logwrapper/logwrapper.c b/logwrapper/logwrapper.c
index 55b71c708..28fe530e1 100644
--- a/logwrapper/logwrapper.c
+++ b/logwrapper/logwrapper.c
@@ -20,10 +20,9 @@
20#include <sys/wait.h> 20#include <sys/wait.h>
21#include <unistd.h> 21#include <unistd.h>
22 22
23#include <logwrap/logwrap.h> 23#include <android/log.h>
24#include <cutils/klog.h> 24#include <cutils/klog.h>
25 25#include <logwrap/logwrap.h>
26#include "cutils/log.h"
27 26
28void fatal(const char *msg) { 27void fatal(const char *msg) {
29 fprintf(stderr, "%s", msg); 28 fprintf(stderr, "%s", msg);