]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_packet.c
ospfd: compile warning cleanups
authorAndrew Certain <certain@amazon.com>
Tue, 4 Dec 2012 21:43:42 +0000 (13:43 -0800)
committerScott Feldman <sfeldma@cumulusnetworks.com>
Mon, 7 Jan 2013 17:59:59 +0000 (09:59 -0800)
commit0798cee34f5c436cd2a4b6e1d9a1ca90eee94292
tree1b2293b711a12d743a0cd814235589bc4ce8d84f
parentde54b26caca7442af29656282e753b02aac6f093
ospfd: compile warning cleanups

A set of patches to clarify some comments as well as cleanup code that was
causing warnings.  After these patches, the code can be compiled with

-Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings
-Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers

(what is current in trunk plus -Wextra -Wno-unused-parameter
-Wno-missing-field-initializers).

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
14 files changed:
ospfd/ospf_apiserver.c
ospfd/ospf_ism.c
ospfd/ospf_lsa.c
ospfd/ospf_lsa.h
ospfd/ospf_network.c
ospfd/ospf_network.h
ospfd/ospf_nsm.c
ospfd/ospf_opaque.c
ospfd/ospf_packet.c
ospfd/ospf_vty.c
ospfd/ospf_zebra.c
ospfd/ospf_zebra.h
ospfd/ospfd.c
ospfd/ospfd.h