diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-12-10 19:16:05 +0300 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2009-12-10 19:16:05 +0300 |
commit | 2c2397059d4d4177ed4636c08aa476a138425dc8 (patch) | |
tree | c32e11332baa9b1ff9efed4f8b363f9118bdc964 /ripd/ripd.h | |
parent | e580216e1ba2db506d1942e382852d07973a5fad (diff) |
ripd: fix compiler warnings
* ripd/rip_interface.c
* rip_request_neighbor(): comment out, unused
* rip_request_neighbor_all(): idem
* rip_interface_up(): Cast flags otherwise compiler complains
about %lld not matching uint64_t on 64 bit x86. Print in hex
since flags are bit field.
* rip_interface_add(): idem
* rip_interface_delete(): idem
* ripd/rip_zebra.c
* rip_redistribute_set(): comment out, unused
* ripd/ripd.h
* rip_redistribute_check(): move prototype here so compiler
can check function against prototype
* ripd/ripd.c
* rip_update_default_metric(): comment out, unused
Diffstat (limited to 'ripd/ripd.h')
-rw-r--r-- | ripd/ripd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ripd/ripd.h b/ripd/ripd.h index 4d0c04e2..45b07b9c 100644 --- a/ripd/ripd.h +++ b/ripd/ripd.h @@ -395,6 +395,8 @@ extern int if_check_address (struct in_addr addr); extern int rip_request_send (struct sockaddr_in *, struct interface *, u_char, struct connected *); extern int rip_neighbor_lookup (struct sockaddr_in *); + +extern int rip_redistribute_check (int); extern void rip_redistribute_add (int, int, struct prefix_ipv4 *, unsigned int, struct in_addr *, unsigned int, unsigned char); extern void rip_redistribute_delete (int, int, struct prefix_ipv4 *, unsigned int); |