summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorhyunuktak <hyunuk.tak@samsung.com>2015-08-07 17:11:34 +0900
committerhyunuktak <hyunuk.tak@samsung.com>2015-08-07 17:11:56 +0900
commit6aa4055ef0544ae85457c25c510fe3db04949c43 (patch)
tree94018be3cef92c33b60650c488dc15536c8f978a /src/device.c
parentbc55a3df0d4d2d97964ce2fadc9fe3ffc4953f4e (diff)
downloadconnman-6aa4055ef0544ae85457c25c510fe3db04949c43.tar.gz
connman-6aa4055ef0544ae85457c25c510fe3db04949c43.tar.bz2
connman-6aa4055ef0544ae85457c25c510fe3db04949c43.zip
Base Code merged to SPIN 2.4submit/tizen/20150810.034432
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com> Change-Id: I84a42375b5c59739e4caca1f726699ea7647ef17
Diffstat (limited to 'src/device.c')
-rwxr-xr-x[-rw-r--r--]src/device.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index c0683abd..4d2d5403 100644..100755
--- a/src/device.c
+++ b/src/device.c
@@ -1143,7 +1143,11 @@ int __connman_device_request_hidden_scan(struct connman_device *device,
passphrase, security, user_data);
}
+#if defined TIZEN_EXT
+char *index2ident(int index, const char *prefix)
+#else
static char *index2ident(int index, const char *prefix)
+#endif
{
struct ifreq ifr;
struct ether_addr eth;
@@ -1189,7 +1193,11 @@ static char *index2ident(int index, const char *prefix)
return str;
}
+#if defined TIZEN_EXT
+char *index2addr(int index)
+#else
static char *index2addr(int index)
+#endif
{
struct ifreq ifr;
struct ether_addr eth;