From: jusung son Date: Thu, 28 Sep 2017 12:57:00 +0000 (+0900) Subject: Add lcov comment X-Git-Tag: accepted/tizen/unified/20171013.192816~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=648394f0399a3ee7d912d06dde1ca5d6bff573fa;p=platform%2Fcore%2Fsystem%2Fbuxton2.git Add lcov comment Change-Id: I29c82c1cd8cabac4cd122f406cc4083089c961be Signed-off-by: jusung son --- diff --git a/vconf-compat/vconf.c b/vconf-compat/vconf.c old mode 100644 new mode 100755 index 0c7b119..2f9b906 --- a/vconf-compat/vconf.c +++ b/vconf-compat/vconf.c @@ -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 */