]> git.puffer.fish Git - matthieu/frr.git/commit
[zebra] Fix mistake in previous commit and further compile warnings/errors.
authorpaul <paul>
Thu, 24 Nov 2005 15:15:17 +0000 (15:15 +0000)
committerpaul <paul>
Thu, 24 Nov 2005 15:15:17 +0000 (15:15 +0000)
commitec1a428343cad343969d569c56acbe6b02ab8f4f
treeed693dcea011eccbef34113da3e340ec1290e7b3
parentb6026073584b855d47a8e2033d2aa3413a3394e9
[zebra] Fix mistake in previous commit and further compile warnings/errors.

2005-11-24 Paul Jakma <paul.jakma@sun.com>

* kernel_socket.h: New header for functions exported to sysctl
  methods.
* kernel_socket.c: include previous.
  Remove static qualifier from couple of functions which are
  used by sysctl methods, incorrectly added in previous commit.
  Add a workaround for a bogus gcc warning to the RTA_ macros.
* Makefile.am: Add kernel_socket.h to noinst_HEADERS
* if_sysctl.c: include rt.h and kernel_socket.h and remove
  redundant prototypes.
* rtread_sysctl.c: ditto.
  (route_read) fix mismatch of return values.
* {rt,zserv,rib}.h: Include lib headers depended on.
zebra/ChangeLog
zebra/Makefile.am
zebra/if_sysctl.c
zebra/kernel_socket.c
zebra/kernel_socket.h [new file with mode: 0644]
zebra/rib.h
zebra/rt.h
zebra/rtread_sysctl.c
zebra/zserv.h