Add lcov comment 88/153488/1
authorjusung son <jusung07.son@samsung.com>
Thu, 28 Sep 2017 12:57:00 +0000 (21:57 +0900)
committerjusung son <jusung07.son@samsung.com>
Thu, 28 Sep 2017 12:57:00 +0000 (21:57 +0900)
Change-Id: I29c82c1cd8cabac4cd122f406cc4083089c961be
Signed-off-by: jusung son <jusung07.son@samsung.com>
vconf-compat/vconf.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 0c7b119..2f9b906
@@ -212,6 +212,7 @@ static void _restore_connection(enum buxton_status status,
        if (status != BUXTON_STATUS_CONNECTION_CLOSED)
                return;
 
+       /* LCOV_EXCL_START */
        pthread_mutex_lock(&vconf_lock);
        if (!noti_tbl) {
                _refcnt = 0;
@@ -230,6 +231,7 @@ static void _restore_connection(enum buxton_status status,
 
        g_hash_table_foreach(noti_tbl, (GHFunc)_restore_noti_cb, NULL);
        pthread_mutex_unlock(&vconf_lock);
+       /* LCOV_EXCL_STOP */
 }
 
 static int _open(void)
@@ -484,6 +486,7 @@ static struct noti *create_noti(const char *key, vconf_callback_fn cb,
        return noti;
 }
 
+/* LCOV_EXCL_START */
 static void _restore_noti_cb(gpointer key, gpointer value, gpointer user_data)
 {
        int r;
@@ -500,6 +503,7 @@ static void _restore_noti_cb(gpointer key, gpointer value, gpointer user_data)
                _refcnt++;
        }
 }
+/* LCOV_EXCL_STOP */
 
 EXPORT int vconf_notify_key_changed(const char *key, vconf_callback_fn cb,
                void *user_data)
@@ -912,6 +916,7 @@ EXPORT int vconf_get_dbl(const char *key, double *dblval)
        return 0;
 }
 
+/* LCOV_EXCL_START */
 EXPORT int vconf_get_ext_errno(void)
 {
        int ret;
@@ -943,6 +948,7 @@ EXPORT int vconf_get_ext_errno(void)
 
        return ret;
 }
+/* LCOV_EXCL_STOP */
 
 struct _keylist_t {
        GList *list; /* struct _keynode_t list */