Fixup of a few missed warnings after --enable-werror turned on

Ticket: Trivial
Reviewed by: Trivial
Testing: Compilation
This commit is contained in:
Donald Sharp 2015-07-25 16:13:58 -07:00
parent aa9584c1cf
commit c0325cfa42
3 changed files with 3 additions and 2 deletions

View File

@ -51,7 +51,7 @@ bfd_info_create(void)
* bfd_info_free - Free the BFD information. * bfd_info_free - Free the BFD information.
*/ */
void void
bfd_info_free(void **bfd_info) bfd_info_free(struct bfd_info **bfd_info)
{ {
if (*bfd_info) if (*bfd_info)
{ {

View File

@ -31,6 +31,7 @@
#include "command.h" #include "command.h"
#include "stream.h" #include "stream.h"
#include "log.h" #include "log.h"
#include "zclient.h"
#include "bfd.h" #include "bfd.h"
#include "ospfd/ospfd.h" #include "ospfd/ospfd.h"

View File

@ -80,7 +80,7 @@ struct ospf_if_params
u_int32_t network_lsa_seqnum; /* Network LSA seqnum */ u_int32_t network_lsa_seqnum; /* Network LSA seqnum */
/* BFD configuration */ /* BFD configuration */
void *bfd_info; struct bfd_info *bfd_info;
}; };
enum enum