diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2006-01-23 18:50:54 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2006-01-23 18:50:54 +0000 |
commit | 39a1261a723c3c1d1860176cbad4eca17d858b94 (patch) | |
tree | 6d98375dd91fa176e4df4204cee525d85a03eab5 /userspace/ebtables2/include | |
parent | b6e00345ebf01b06d792cd89522e6b7b114783f7 (diff) |
remove unsigned char * warning with gcc 4.0
Diffstat (limited to 'userspace/ebtables2/include')
-rw-r--r-- | userspace/ebtables2/include/ebtables_u.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/userspace/ebtables2/include/ebtables_u.h b/userspace/ebtables2/include/ebtables_u.h index 25f3fbb..f1f1dfd 100644 --- a/userspace/ebtables2/include/ebtables_u.h +++ b/userspace/ebtables2/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); |