From: Jeonghoon Park Date: Thu, 11 Apr 2019 02:49:15 +0000 (+0900) Subject: [sample]apply coding rule X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3afbe886bb9db605dc4099c3035b3f7fcb39fee4;p=apps%2Fnative%2Fiot-device-manager.git [sample]apply coding rule --- diff --git a/inc/log.h b/inc/log.h index 8dd533c..066d2e6 100755 --- a/inc/log.h +++ b/inc/log.h @@ -28,14 +28,14 @@ extern "C" { #define FN_END dlog_print(DLOG_DEBUG, LOG_TAG, "<<<<<<<< ended") #define retv_if(expr, val) do { \ - if(expr) { \ + if (expr) { \ dlog_print(DLOG_INFO, "(%s) -> %s() return", #expr, __FUNCTION__); \ return (val); \ } \ } while (0) #define ret_if(expr) do { \ - if(expr) { \ + if (expr) { \ dlog_print(DLOG_INFO, "(%s) -> %s() return", #expr, __FUNCTION__); \ return; \ } \ diff --git a/src/devicemanagerservice.c b/src/devicemanagerservice.c index 589ab6d..b693b41 100644 --- a/src/devicemanagerservice.c +++ b/src/devicemanagerservice.c @@ -23,21 +23,21 @@ Eina_Bool __command_test(void *data) bool service_app_create(void *data) { - // Todo: add your code here. - return true; + // Todo: add your code here. + return true; } void service_app_terminate(void *data) { - // Todo: add your code here. - return; + // Todo: add your code here. + return; } void service_app_control(app_control_h app_control, void *data) { - // Todo: add your code here. + // Todo: add your code here. timer = ecore_timer_add(3.0, __command_test, NULL); - return; + return; } static void @@ -67,7 +67,7 @@ service_app_low_memory(app_event_info_h event_info, void *user_data) int main(int argc, char* argv[]) { - char ad[50] = {0,}; + char ad[50] = {0,}; service_app_lifecycle_callback_s event_callback; app_event_handler_h handlers[5] = {NULL, };