From 480c39f29b2ba245e4ba43d094b2a3f49294c5c0 Mon Sep 17 00:00:00 2001 From: Heesub Shin Date: Thu, 13 Apr 2017 14:40:10 +0900 Subject: [PATCH] sidk_s5jt200: make wlan_init() static wlan_init() is dereferenced by up_wlan_init() only. Let's make it static. Change-Id: Ia0e716a4d27e4c89ceb763f7a39314cb654dad6a Signed-off-by: Heesub Shin --- os/arch/arm/src/sidk_s5jt200/src/s5jt200_wlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/arch/arm/src/sidk_s5jt200/src/s5jt200_wlan.c b/os/arch/arm/src/sidk_s5jt200/src/s5jt200_wlan.c index a695e09..05d5d8d 100644 --- a/os/arch/arm/src/sidk_s5jt200/src/s5jt200_wlan.c +++ b/os/arch/arm/src/sidk_s5jt200/src/s5jt200_wlan.c @@ -45,7 +45,7 @@ struct wlanif { * ERR_MEM if private data couldn't be allocated * any other err_t on error */ -err_t wlan_init(struct netif *netif) +static err_t wlan_init(struct netif *netif) { netif->name[0] = IFNAME0; netif->name[1] = IFNAME1; -- 2.7.4