tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[PATCH 1/4] Fix ip_carp.c build with -Werror=array-parameter enabled
---
sys/netinet/ip_carp.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index 633cfe9f767e..801050bebdf3 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -187,10 +187,10 @@ struct carp_if {
}
static void carp_hmac_prepare(struct carp_softc *);
-static void carp_hmac_generate(struct carp_softc *, u_int32_t *,
- unsigned char *);
-static int carp_hmac_verify(struct carp_softc *, u_int32_t *,
- unsigned char *);
+static void carp_hmac_generate(struct carp_softc *, u_int32_t [2],
+ unsigned char [20]);
+static int carp_hmac_verify(struct carp_softc *, u_int32_t [2],
+ unsigned char [20]);
static void carp_setroute(struct carp_softc *, int);
static void carp_proto_input_c(struct mbuf *, struct carp_header *,
sa_family_t);
--
2.33.1
Home |
Main Index |
Thread Index |
Old Index