]> git.puffer.fish Git - mirror/frr.git/commit
ripd: fix compiler warnings
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 10 Dec 2009 16:16:05 +0000 (19:16 +0300)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 10 Dec 2009 16:16:05 +0000 (19:16 +0300)
commit2c2397059d4d4177ed4636c08aa476a138425dc8
treec32e11332baa9b1ff9efed4f8b363f9118bdc964
parente580216e1ba2db506d1942e382852d07973a5fad
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
ripd/rip_interface.c
ripd/rip_zebra.c
ripd/ripd.c
ripd/ripd.h