]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DPP: Mark internal functions static
authorJouni Malinen <j@w1.fi>
Sat, 22 Feb 2025 08:49:49 +0000 (10:49 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 22 Feb 2025 08:49:49 +0000 (10:49 +0200)
These are not used outside the files in which they are defined.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/dpp.c
src/common/dpp_reconfig.c

index 094c14bbef38bc503281ff64c30ecb3f29f73af1..1c3e453a15202e8baea131519b4de0317b7a2579 100644 (file)
@@ -299,7 +299,8 @@ int dpp_parse_uri_info(struct dpp_bootstrap_info *bi, const char *info)
 }
 
 
-int dpp_parse_uri_version(struct dpp_bootstrap_info *bi, const char *version)
+static int dpp_parse_uri_version(struct dpp_bootstrap_info *bi,
+                                const char *version)
 {
 #ifdef CONFIG_DPP2
        if (!version || DPP_VERSION < 2)
index 452c502475126739220d77d6930fd6eab25a2070..e55789c87e44761f43164917750109d1673e13d9 100644 (file)
@@ -569,7 +569,7 @@ fail:
 }
 
 
-struct wpabuf *
+static struct wpabuf *
 dpp_reconfig_build_conf(struct dpp_authentication *auth)
 {
        struct wpabuf *msg = NULL, *clear;