From 6c83567192ada1a66822c3f35580ce6a85f51ac9 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 11 Oct 2004 11:00:30 +0000 Subject: 2004-10-11 Paul Jakma * (global) Const char update and signed/unsigned fixes. * (various headers) size defines should be unsigned. * ospf_interface.h: remove duplicated defines, include the authoritative header - though, these defines should probably be moved to a dedicated header, or ospfd.h. * ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned. * ospf_packet.c: (ospf_write) cast result of shift to unsigned. --- ospfd/ospf_abr.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ospfd/ospf_abr.h') diff --git a/ospfd/ospf_abr.h b/ospfd/ospf_abr.h index 3b385c32..11c0d9b1 100644 --- a/ospfd/ospf_abr.h +++ b/ospfd/ospf_abr.h @@ -52,7 +52,7 @@ struct ospf_area_range /* Configured range cost. */ u_int32_t cost_config; -#define OSPF_AREA_RANGE_COST_UNSPEC -1 +#define OSPF_AREA_RANGE_COST_UNSPEC -1U }; /* Prototypes. */ @@ -75,10 +75,10 @@ int ospf_area_range_substitute_unset (struct ospf *, struct in_addr, struct ospf_area_range *ospf_area_range_match_any (struct ospf *, struct prefix_ipv4 *); int ospf_area_range_active (struct ospf_area_range *); -int ospf_act_bb_connection (); +int ospf_act_bb_connection (struct ospf *); -void ospf_check_abr_status (); -void ospf_abr_task (); -void ospf_schedule_abr_task (); +void ospf_check_abr_status (struct ospf *); +void ospf_abr_task (struct ospf *); +void ospf_schedule_abr_task (struct ospf *); #endif /* _ZEBRA_OSPF_ABR_H */ -- cgit v1.2.1