headless-client: fix indentation 31/207131/1
authorSung-Jin Park <sj76.park@samsung.com>
Thu, 18 Apr 2019 02:25:21 +0000 (11:25 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Thu, 30 May 2019 08:32:34 +0000 (17:32 +0900)
Change-Id: I194f2aae2b59e129a9dd6f8a5249ffb39d3f2caa
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/samples/headless_client.c

index 83cca9d2b3ea84b08a71b2705427e3977b48fcd8..a02cf63ad6b8a50182587f145d887ebbc0482233 100644 (file)
@@ -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;