tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[PATCH 3/4] Fix if_ether.h build with -Werror=array-parameter enabled
---
sys/net/if_ether.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/net/if_ether.h b/sys/net/if_ether.h
index 5fa7971dd71a..6732894b7a12 100644
--- a/sys/net/if_ether.h
+++ b/sys/net/if_ether.h
@@ -255,7 +255,7 @@ void ether_set_vlan_cb(struct ethercom *, ether_vlancb_t);
int ether_ioctl(struct ifnet *, u_long, void *);
int ether_addmulti(const struct sockaddr *, struct ethercom *);
int ether_delmulti(const struct sockaddr *, struct ethercom *);
-int ether_multiaddr(const struct sockaddr *, uint8_t[], uint8_t[]);
+int ether_multiaddr(const struct sockaddr *, uint8_t[ETHER_ADDR_LEN], uint8_t[ETHER_ADDR_LEN]);
void ether_input(struct ifnet *, struct mbuf *);
/*
--
2.33.1
Home |
Main Index |
Thread Index |
Old Index