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

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/ieee802_11.c

index 72910394cfb9dd331ed9b348c2898e3fdbcb6c68..30f8285c388550d9cbb23f57c26abdbe92339924 100644 (file)
@@ -8066,8 +8066,8 @@ repeat_rnr:
 }
 
 
-u8 * hostapd_eid_rnr_colocation(struct hostapd_data *hapd, u8 *eid,
-                               size_t *current_len)
+static u8 * hostapd_eid_rnr_colocation(struct hostapd_data *hapd, u8 *eid,
+                                      size_t *current_len)
 {
        struct hostapd_iface *iface;
        size_t i;
@@ -8091,8 +8091,8 @@ u8 * hostapd_eid_rnr_colocation(struct hostapd_data *hapd, u8 *eid,
 }
 
 
-u8 * hostapd_eid_rnr_mlo(struct hostapd_data *hapd, u32 type,
-                        u8 *eid, size_t *current_len)
+static u8 * hostapd_eid_rnr_mlo(struct hostapd_data *hapd, u32 type,
+                               u8 *eid, size_t *current_len)
 {
 #ifdef CONFIG_IEEE80211BE
        struct hostapd_iface *iface;