Skip to content

Commit

Permalink
net/icmpv4: Rename static function with icmpv4_ prefix
Browse files Browse the repository at this point in the history
Static ones with that prefix, exported ones with net_icmpv4_ prefix.

Fixes zephyrproject-rtos#8720

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
  • Loading branch information
Tomasz Bursztyka committed Jul 24, 2018
1 parent d1bf77d commit d0952ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subsys/net/ip/icmpv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ struct net_buf *net_icmpv4_set_chksum(struct net_pkt *pkt,
return frag;
}

static inline enum net_verdict handle_echo_request(struct net_pkt *pkt)
static inline enum net_verdict icmpv4_handle_echo_request(struct net_pkt *pkt)
{
/* Note that we send the same data packets back and just swap
* the addresses etc.
Expand Down Expand Up @@ -343,7 +343,7 @@ enum net_verdict net_icmpv4_input(struct net_pkt *pkt)
static struct net_icmpv4_handler echo_request_handler = {
.type = NET_ICMPV4_ECHO_REQUEST,
.code = 0,
.handler = handle_echo_request,
.handler = icmpv4_handle_echo_request,
};

void net_icmpv4_init(void)
Expand Down

0 comments on commit d0952ba

Please sign in to comment.