]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Mark functions static
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 2 Jul 2014 10:03:22 +0000 (13:03 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jul 2014 10:03:22 +0000 (13:03 +0300)
These functions are not used outside this file.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/config.c

index e666c9b362107e3f94fa2181685c6005485b4654..4dc3e96cd130255521e3660f71aa409edd6f4212 100644 (file)
@@ -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;