From: Sung-Jin Park Date: Thu, 18 Apr 2019 02:25:21 +0000 (+0900) Subject: headless-client: fix indentation X-Git-Tag: submit/tizen/20190530.092249~77 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68a58a48e8310310143a9ed80ac276b95ddae316;p=platform%2Fcore%2Fuifw%2Fpepper.git headless-client: fix indentation Change-Id: I194f2aae2b59e129a9dd6f8a5249ffb39d3f2caa Signed-off-by: Sung-Jin Park --- 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;