aboutsummaryrefslogtreecommitdiffstats
path: root/src/wps
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-08-06 09:38:21 (GMT)
committerJouni Malinen <j@w1.fi>2016-08-06 09:38:21 (GMT)
commite55df99ee6281f43de620c6bd46faee2ca0252a2 (patch)
treec535ab8986d2bd2b7591dcd6238d4c286ed70161 /src/wps
parent23c130e9b74ffca645d1c420ac3483db26de5ade (diff)
downloadhostap-e55df99ee6281f43de620c6bd46faee2ca0252a2.zip
hostap-e55df99ee6281f43de620c6bd46faee2ca0252a2.tar.gz
hostap-e55df99ee6281f43de620c6bd46faee2ca0252a2.tar.bz2
Share a single str_starts() implementation
No need to define this as a static function in multiple files. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/wps')
-rw-r--r--src/wps/wps_upnp_ssdp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wps/wps_upnp_ssdp.c b/src/wps/wps_upnp_ssdp.c
index 968fc03..a685ce4 100644
--- a/src/wps/wps_upnp_ssdp.c
+++ b/src/wps/wps_upnp_ssdp.c
@@ -100,12 +100,6 @@ static int line_length(const char *l)
}
-static int str_starts(const char *str, const char *start)
-{
- return os_strncmp(str, start, os_strlen(start)) == 0;
-}
-
-
/***************************************************************************
* Advertisements.
* These are multicast to the world to tell them we are here.