aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-07-02 10:03:22 (GMT)
committerJouni Malinen <j@w1.fi>2014-07-02 10:03:22 (GMT)
commit8f03ac90072235538c7a675e825b2198f3358821 (patch)
tree115f264f74f244d33356228501aa241e9a2a7c05 /wpa_supplicant/config.c
parente8e571d7ce7215fb78c1147d47bb2c2250ce1d20 (diff)
downloadhostap-8f03ac90072235538c7a675e825b2198f3358821.zip
hostap-8f03ac90072235538c7a675e825b2198f3358821.tar.gz
hostap-8f03ac90072235538c7a675e825b2198f3358821.tar.bz2
Mark functions static
These functions are not used outside this file. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config.c')
-rw-r--r--wpa_supplicant/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index e666c9b..4dc3e96 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -2824,7 +2824,7 @@ int wpa_config_set_cred(struct wpa_cred *cred, const char *var,
}
-char * alloc_int_str(int val)
+static char * alloc_int_str(int val)
{
char *buf;
@@ -2836,7 +2836,7 @@ char * alloc_int_str(int val)
}
-char * alloc_strdup(const char *str)
+static char * alloc_strdup(const char *str)
{
if (str == NULL)
return NULL;