From 66ce3e08c5632a20ea66bde6dd76397041edf034 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Wed, 28 Sep 2016 10:07:20 -0700 Subject: 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 --- libsuspend/autosuspend.c | 5 +++-- libsuspend/autosuspend_autosleep.c | 5 +++-- libsuspend/autosuspend_earlysuspend.c | 7 ++++--- libsuspend/autosuspend_wakeup_count.c | 7 ++++--- 4 files changed, 14 insertions(+), 10 deletions(-) (limited to 'libsuspend') diff --git a/libsuspend/autosuspend.c b/libsuspend/autosuspend.c index edd100711..64d1bfc74 100644 --- a/libsuspend/autosuspend.c +++ b/libsuspend/autosuspend.c @@ -14,10 +14,11 @@ * limitations under the License. */ +#define LOG_TAG "libsuspend" + #include -#define LOG_TAG "libsuspend" -#include +#include #include diff --git a/libsuspend/autosuspend_autosleep.c b/libsuspend/autosuspend_autosleep.c index 7262cc7e8..97109ac2c 100644 --- a/libsuspend/autosuspend_autosleep.c +++ b/libsuspend/autosuspend_autosleep.c @@ -14,6 +14,8 @@ * limitations under the License. */ +#define LOG_TAG "libsuspend" + #include #include #include @@ -22,8 +24,7 @@ #include #include -#define LOG_TAG "libsuspend" -#include +#include #include "autosuspend_ops.h" diff --git a/libsuspend/autosuspend_earlysuspend.c b/libsuspend/autosuspend_earlysuspend.c index 3793a699e..9519e51ea 100644 --- a/libsuspend/autosuspend_earlysuspend.c +++ b/libsuspend/autosuspend_earlysuspend.c @@ -14,18 +14,19 @@ * limitations under the License. */ +#define LOG_TAG "libsuspend" + #include #include #include #include #include #include -#include #include +#include #include -#define LOG_TAG "libsuspend" -#include +#include #include "autosuspend_ops.h" diff --git a/libsuspend/autosuspend_wakeup_count.c b/libsuspend/autosuspend_wakeup_count.c index 23a029027..d3fb45fcf 100644 --- a/libsuspend/autosuspend_wakeup_count.c +++ b/libsuspend/autosuspend_wakeup_count.c @@ -14,6 +14,9 @@ * limitations under the License. */ +#define LOG_TAG "libsuspend" +//#define LOG_NDEBUG 0 + #include #include #include @@ -25,9 +28,7 @@ #include #include -#define LOG_TAG "libsuspend" -//#define LOG_NDEBUG 0 -#include +#include #include "autosuspend_ops.h" -- cgit v1.2.3-54-g00ecf