From: Jouni Malinen Date: Sat, 22 Feb 2025 08:49:49 +0000 (+0200) Subject: DPP: Mark internal functions static X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be7beba15503c4c5de55a2feb0910df0cc471056;p=thirdparty%2Fhostap.git DPP: Mark internal functions static These are not used outside the files in which they are defined. Signed-off-by: Jouni Malinen --- diff --git a/src/common/dpp.c b/src/common/dpp.c index 094c14bbe..1c3e453a1 100644 --- a/src/common/dpp.c +++ b/src/common/dpp.c @@ -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) diff --git a/src/common/dpp_reconfig.c b/src/common/dpp_reconfig.c index 452c50247..e55789c87 100644 --- a/src/common/dpp_reconfig.c +++ b/src/common/dpp_reconfig.c @@ -569,7 +569,7 @@ fail: } -struct wpabuf * +static struct wpabuf * dpp_reconfig_build_conf(struct dpp_authentication *auth) { struct wpabuf *msg = NULL, *clear;