From 53b22f4480e49e7711eb477e2c2312670067f0a0 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Fri, 4 Jul 2014 16:43:52 +0300 Subject: [PATCH] android/hal-msg: trivial: Correct coding style Move rsp close to cmd improving readability of the code. --- android/hal-msg.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/android/hal-msg.h b/android/hal-msg.h index af859c691..7f13e8463 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -403,6 +403,10 @@ struct hal_cmd_health_reg_app { uint8_t data[0]; } __attribute__((packed)); +struct hal_rsp_health_reg_app { + uint16_t app_id; +} __attribute__((packed)); + #define HAL_OP_HEALTH_MDEP 0x02 struct hal_cmd_health_mdep { uint16_t app_id; @@ -413,10 +417,6 @@ struct hal_cmd_health_mdep { uint8_t descr[0]; } __attribute__((packed)); -struct hal_rsp_health_reg_app { - uint16_t app_id; -} __attribute__((packed)); - #define HAL_OP_HEALTH_UNREG_APP 0x03 struct hal_cmd_health_unreg_app { uint16_t app_id; -- 2.47.3