summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2006-01-23 18:50:54 +0000
committerBart De Schuymer <bdschuym@pandora.be>2006-01-23 18:50:54 +0000
commit510c9ce916464d6958c4394169fb5e885f4d3a06 (patch)
tree8cc6d20db5724c7a2c120306cbd70ec90ab8adfd /include
parent639bbe9d2f41b776bc3384590151265367de01d9 (diff)
downloadebtables-510c9ce916464d6958c4394169fb5e885f4d3a06.tar.gz
ebtables-510c9ce916464d6958c4394169fb5e885f4d3a06.tar.bz2
ebtables-510c9ce916464d6958c4394169fb5e885f4d3a06.zip
remove unsigned char * warning with gcc 4.0
Diffstat (limited to 'include')
-rw-r--r--include/ebtables_u.h6
1 files changed, 3 insertions, 3 deletions
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);