static GHashTable *__ctsvc_view_uri_hash = NULL;
#ifndef _CONTACTS_IPC_SERVER /* native or client library */
-static int __ctsvc_view_ref_count = 0;
+volatile static int __ctsvc_view_ref_count = 0;
#endif
void ctsvc_view_uri_init()
if (NULL == __ctsvc_view_uri_hash) {
/* LCOV_EXCL_START */
- ERR("contacts-service is not initialized");
+ ERR("deinit error: contacts-service is not initialized");
return;
/* LCOV_EXCL_STOP */
}
if (NULL == __ctsvc_view_uri_hash) {
/* LCOV_EXCL_START */
- ERR("contacts-service is not initialized");
+ ERR("get_record_type error: contacts-service is not initialized");
return type;
/* LCOV_EXCL_STOP */
}
if (NULL == __ctsvc_view_uri_hash) {
/* LCOV_EXCL_START */
- ERR("contacts-service is not initialized");
+ ERR("get_uri error: contacts-service is not initialized");
return NULL;
/* LCOV_EXCL_STOP */
}