Browse Source

Mark functions static

These functions are not used outside this file.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Jouni Malinen 10 years ago
parent
commit
8f03ac9007
1 changed files with 2 additions and 2 deletions
  1. 2 2
      wpa_supplicant/config.c

+ 2 - 2
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;