diff options
author | Youngjae Shin <yj99.shin@samsung.com> | 2017-09-25 16:07:09 +0900 |
---|---|---|
committer | Youngjae Shin <yj99.shin@samsung.com> | 2017-09-25 16:07:09 +0900 |
commit | 7b40c2ad218c2d15f33556b7bc1a29bb14d41b93 (patch) | |
tree | 87824bb43c923d4c93da4431ca49a60adc3404a7 | |
parent | d6c8358a57184a993c33f228f2ad520356d08598 (diff) | |
download | libslp-db-util-7b40c2ad218c2d15f33556b7bc1a29bb14d41b93.tar.gz libslp-db-util-7b40c2ad218c2d15f33556b7bc1a29bb14d41b93.tar.bz2 libslp-db-util-7b40c2ad218c2d15f33556b7bc1a29bb14d41b93.zip |
fix build warningtizen_5.5.m2_releasesubmit/tizen_5.5_wearable_hotfix/20201026.184303submit/tizen_5.5_mobile_hotfix/20201026.185103submit/tizen_5.5/20191031.000003submit/tizen_5.0/20181101.000002submit/tizen/20170926.073745accepted/tizen/unified/20170927.063230accepted/tizen/5.5/unified/wearable/hotfix/20201027.114428accepted/tizen/5.5/unified/mobile/hotfix/20201027.084821accepted/tizen/5.5/unified/20191031.025129accepted/tizen/5.0/unified/20181102.014404tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5tizen_5.0accepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedaccepted/tizen_5.0_unified
Change-Id: Ic4ea6cd3c7ca49374d43d531f67914ea28dbcb2d
-rw-r--r-- | collation.c | 2 | ||||
-rw-r--r-- | util_func.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/collation.c b/collation.c index 8a13344..e1e966b 100644 --- a/collation.c +++ b/collation.c @@ -476,7 +476,7 @@ int db_util_create_collation( ret = __db_util_dl_load_icu(); DB_UTIL_RETV_IF(ret != DB_UTIL_OK, DB_UTIL_ERROR); - const char *lang = vconf_get_str(VCONFKEY_LANGSET); + char *lang = vconf_get_str(VCONFKEY_LANGSET); /* get current locale */ if (lang) { icu_symbol.icu_uloc_setDefault(lang, &status); diff --git a/util_func.c b/util_func.c index 1911992..cd6c87c 100644 --- a/util_func.c +++ b/util_func.c @@ -21,6 +21,7 @@ #include <string.h> #include <unistd.h> +#include <time.h> #include "util-func.h" #include "collation.h" |