Fix some compiler warnings

This commit is contained in:
kimocoder
2023-01-01 12:22:07 +01:00
parent d8d41d2aae
commit 8c7cd37297
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1535,7 +1535,7 @@ extern __inline int is_multicast_mac_addr(const u8 *addr)
return (addr[0] != 0xff) && (0x01 & addr[0]);
}
extern __inline int is_broadcast_mac_addr(const u8 *addr)
static __inline int is_broadcast_mac_addr(const u8 *addr)
{
return ((addr[0] == 0xff) && (addr[1] == 0xff) && (addr[2] == 0xff) && \
(addr[3] == 0xff) && (addr[4] == 0xff) && (addr[5] == 0xff));