From 510c9ce916464d6958c4394169fb5e885f4d3a06 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Mon, 23 Jan 2006 18:50:54 +0000 Subject: remove unsigned char * warning with gcc 4.0 --- include/ebtables_u.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/ebtables_u.h') diff --git a/include/ebtables_u.h b/include/ebtables_u.h index 25f3fbb..f1f1dfd 100644 --- a/include/ebtables_u.h +++ b/include/ebtables_u.h @@ -292,9 +292,9 @@ extern int ebt_invert; void ebt_check_option(unsigned int *flags, unsigned int mask); #define ebt_check_inverse(arg) _ebt_check_inverse(arg, argc, argv) int _ebt_check_inverse(const char option[], int argc, char **argv); -void ebt_print_mac(const char *mac); -void ebt_print_mac_and_mask(const char *mac, const char *mask); -int ebt_get_mac_and_mask(char *from, char *to, char *mask); +void ebt_print_mac(const unsigned char *mac); +void ebt_print_mac_and_mask(const unsigned char *mac, const unsigned char *mask); +int ebt_get_mac_and_mask(const char *from, unsigned char *to, unsigned char *mask); void ebt_parse_ip_address(char *address, uint32_t *addr, uint32_t *msk); char *ebt_mask_to_dotted(uint32_t mask); -- cgit v1.2.3