From 68a58a48e8310310143a9ed80ac276b95ddae316 Mon Sep 17 00:00:00 2001 From: Sung-Jin Park Date: Thu, 18 Apr 2019 11:25:21 +0900 Subject: [PATCH] headless-client: fix indentation Change-Id: I194f2aae2b59e129a9dd6f8a5249ffb39d3f2caa Signed-off-by: Sung-Jin Park --- src/samples/headless_client.c | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/src/samples/headless_client.c b/src/samples/headless_client.c index 83cca9d..a02cf63 100644 --- a/src/samples/headless_client.c +++ b/src/samples/headless_client.c @@ -8,24 +8,24 @@ #define DEBUG #ifdef DEBUG #define TRACE(fmt, ...) \ - do { \ - printf("[headless-client : %s] "fmt, __FUNCTION__, ##__VA_ARGS__); \ - } while (0) + do { \ + printf("[headless-client : %s] "fmt, __FUNCTION__, ##__VA_ARGS__); \ + } while (0) #else -#define TRACE(fmt, ...) - do { \ - ; - } while (0) +#define TRACE(fmt, ...) \ + do { \ + ; + } while (0) #endif #define ERROR_CHECK(exp, action, fmt, ...) \ - do { \ - if (!(exp)) \ - { \ - printf(fmt, ##__VA_ARGS__); \ - action; \ - } \ - } while (0) + do { \ + if (!(exp)) \ + { \ + printf(fmt, ##__VA_ARGS__); \ + action; \ + } \ + } while (0) typedef struct app_data app_data_t; struct app_data @@ -140,7 +140,8 @@ _cb_key_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event) return ECORE_CALLBACK_PASS_ON; } -static void _event_handlers_init(app_data_t *client) +static void +_event_handlers_init(app_data_t *client) { Ecore_Event_Handler *h = NULL; -- 2.34.1