From 9a59c980238ffef31187155d7f18105b330afe86 Mon Sep 17 00:00:00 2001 From: taesubkim Date: Thu, 16 Jun 2016 09:52:41 +0900 Subject: [PATCH] Fixed build error for __libnet_check_address_type Change-Id: I679cb85d24e2ab3ae846fd68fd88e73687c69f27 Signed-off-by: Taesub Kim --- packaging/capi-network-connection.spec | 2 +- src/libnetwork.c | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/packaging/capi-network-connection.spec b/packaging/capi-network-connection.spec index 2397f5d..3b327e5 100755 --- a/packaging/capi-network-connection.spec +++ b/packaging/capi-network-connection.spec @@ -1,6 +1,6 @@ Name: capi-network-connection Summary: Network Connection library in TIZEN C API -Version: 1.0.91 +Version: 1.0.92 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/src/libnetwork.c b/src/libnetwork.c index 212963c..efd5cf6 100755 --- a/src/libnetwork.c +++ b/src/libnetwork.c @@ -476,18 +476,6 @@ static void __libnet_evt_cb(net_event_info_t *event_cb, void *user_data) } //LCOV_EXCL_STOP -static int __libnet_check_address_type(int address_family, const char *address) -{ - struct in6_addr buf; - int err = 0; - - err = inet_pton(address_family, address, &buf); - if (err > 0) - return 1; - - return 0; -} - int __libnet_get_connected_count(struct _profile_list_s *profile_list) { int count = 0; -- 2.7.4