From ca66db580384a83cbc8f4dab6e88beb90bc48985 Mon Sep 17 00:00:00 2001 From: Kunhoon Baik Date: Tue, 6 Sep 2016 09:10:52 +0900 Subject: [PATCH] Tizenid service SHOULD use std io because it is executed at sysinit.target Change-Id: Ie7da8ed400c234bf0625265f7bd498b5aaac1836 --- src/tizenid/CMakeLists.txt | 1 - src/tizenid/tizenid.c | 14 ++++---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/tizenid/CMakeLists.txt b/src/tizenid/CMakeLists.txt index 0cf7989..d08812f 100755 --- a/src/tizenid/CMakeLists.txt +++ b/src/tizenid/CMakeLists.txt @@ -9,7 +9,6 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) INCLUDE(FindPkgConfig) pkg_check_modules(tizenid_pkgs REQUIRED - dlog glib-2.0 openssl ) diff --git a/src/tizenid/tizenid.c b/src/tizenid/tizenid.c index c0ca1f8..bc7eda5 100755 --- a/src/tizenid/tizenid.c +++ b/src/tizenid/tizenid.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -28,18 +29,11 @@ #include #include #include -#include #include -#ifdef LOG_TAG -#undef LOG_TAG -#endif - -#define LOG_TAG "TIZENID" - -#define _D(fmt, args...) SLOGD(fmt, ##args) -#define _E(fmt, args...) SLOGE(fmt, ##args) -#define _I(fmt, args...) SLOGI(fmt, ##args) +#define _D(fmt, args...) fprintf(stdout, fmt, ##args) +#define _E(fmt, args...) fprintf(stderr, fmt, ##args) +#define _I(fmt, args...) fprintf(stdout, fmt, ##args) #define KEY_MAX 20 -- 2.7.4