diff options
author | Andrew Certain <certain@amazon.com> | 2012-12-04 22:43:42 +0100 |
---|---|---|
committer | Scott Feldman <sfeldma@cumulusnetworks.com> | 2013-01-07 18:59:59 +0100 |
commit | 0798cee34f5c436cd2a4b6e1d9a1ca90eee94292 (patch) | |
tree | 1b2293b711a12d743a0cd814235589bc4ce8d84f /ospfd/ospf_zebra.h | |
parent | ospfd: Update nsm_change_state to static scope, as it is not called from else... (diff) | |
download | frr-0798cee34f5c436cd2a4b6e1d9a1ca90eee94292.tar.xz frr-0798cee34f5c436cd2a4b6e1d9a1ca90eee94292.zip |
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>
Diffstat (limited to 'ospfd/ospf_zebra.h')
-rw-r--r-- | ospfd/ospf_zebra.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_zebra.h b/ospfd/ospf_zebra.h index fbb344424..148f6520f 100644 --- a/ospfd/ospf_zebra.h +++ b/ospfd/ospf_zebra.h @@ -54,7 +54,7 @@ extern int ospf_redistribute_check (struct ospf *, struct external_info *, int *); extern int ospf_distribute_check_connected (struct ospf *, struct external_info *); -extern void ospf_distribute_list_update (struct ospf *, int); +extern void ospf_distribute_list_update (struct ospf *, uintptr_t); extern int ospf_is_type_redistributed (int); extern void ospf_distance_reset (struct ospf *); |