aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
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 /wpa_supplicant
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 'wpa_supplicant')
-rw-r--r--wpa_supplicant/wpa_cli.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c
index 30f0baf..7614218 100644
--- a/wpa_supplicant/wpa_cli.c
+++ b/wpa_supplicant/wpa_cli.c
@@ -108,12 +108,6 @@ static int get_cmd_arg_num(const char *str, int pos)
}
-static int str_starts(const char *src, const char *match)
-{
- return os_strncmp(src, match, os_strlen(match)) == 0;
-}
-
-
static int wpa_cli_show_event(const char *event)
{
const char *start;