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 --- trusty/gatekeeper/trusty_gatekeeper.cpp | 9 +++++---- trusty/gatekeeper/trusty_gatekeeper_ipc.c | 5 +++-- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'trusty/gatekeeper') diff --git a/trusty/gatekeeper/trusty_gatekeeper.cpp b/trusty/gatekeeper/trusty_gatekeeper.cpp index d24f44f2e..7e55fb1eb 100644 --- a/trusty/gatekeeper/trusty_gatekeeper.cpp +++ b/trusty/gatekeeper/trusty_gatekeeper.cpp @@ -14,18 +14,19 @@ * limitations under the License. */ +#define LOG_TAG "TrustyGateKeeper" + +#include #include #include -#include #include +#include + #include "trusty_gatekeeper.h" #include "trusty_gatekeeper_ipc.h" #include "gatekeeper_ipc.h" -#define LOG_TAG "TrustyGateKeeper" -#include - namespace gatekeeper { const uint32_t SEND_BUF_SIZE = 8192; diff --git a/trusty/gatekeeper/trusty_gatekeeper_ipc.c b/trusty/gatekeeper/trusty_gatekeeper_ipc.c index a1c319e5a..ae536c539 100644 --- a/trusty/gatekeeper/trusty_gatekeeper_ipc.c +++ b/trusty/gatekeeper/trusty_gatekeeper_ipc.c @@ -14,12 +14,13 @@ * limitations under the License. */ +#define LOG_TAG "TrustyGateKeeper" + #include #include #include -#define LOG_TAG "TrustyGateKeeper" -#include +#include #include #include "trusty_gatekeeper_ipc.h" -- cgit v1.2.3