From f367c08dd582e8b2749c61edfe3386e6a4fedfc0 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 24 Jun 2016 01:57:58 +0300 Subject: [PATCH] Mark internal functions static These functions are not called outside this file. Signed-off-by: Jouni Malinen --- hostapd/ctrl_iface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c index db9e0b065..62bef18bc 100644 --- a/hostapd/ctrl_iface.c +++ b/hostapd/ctrl_iface.c @@ -1591,8 +1591,8 @@ static u16 ipv4_hdr_checksum(const void *buf, size_t len) #define HWSIM_PACKETLEN 1500 #define HWSIM_IP_LEN (HWSIM_PACKETLEN - sizeof(struct ether_header)) -void hostapd_data_test_rx(void *ctx, const u8 *src_addr, const u8 *buf, - size_t len) +static void hostapd_data_test_rx(void *ctx, const u8 *src_addr, const u8 *buf, + size_t len) { struct hostapd_data *hapd = ctx; const struct ether_header *eth; @@ -2078,7 +2078,7 @@ static int hostapd_ctrl_iface_req_lci(struct hostapd_data *hapd, } -int hostapd_ctrl_iface_req_range(struct hostapd_data *hapd, char *cmd) +static int hostapd_ctrl_iface_req_range(struct hostapd_data *hapd, char *cmd) { u8 addr[ETH_ALEN]; char *token, *context = NULL;