summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_abr.h
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2008-08-15 13:45:30 +0100
committerPaul Jakma <paul@quagga.net>2008-08-22 19:52:58 +0100
commit6ac29a51075def99217a4ab1015635db3b3e83ed (patch)
tree1152b55eb3a2099c67a0ba8e62d7e41f07e00135 /ospf6d/ospf6_abr.h
parent1423c809cc4ddc2e013ba6264c49a11e5719c6f2 (diff)
[trivia] finish off static'ification of ospf6d and ripngd
2008-08-15 Paul Jakma <paul.jakma@sun.com> * {ospf6d,ripngd}/*: Finish job of marking functions as static, or exporting declarations for them, to quell warning noise with Quagga's GCC default high-level of warning flags. Thus allowing remaining, more useful warnings to be more easily seen.
Diffstat (limited to 'ospf6d/ospf6_abr.h')
-rw-r--r--ospf6d/ospf6_abr.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/ospf6d/ospf6_abr.h b/ospf6d/ospf6_abr.h
index 84c6fa5e..5d00c474 100644
--- a/ospf6d/ospf6_abr.h
+++ b/ospf6d/ospf6_abr.h
@@ -52,24 +52,22 @@ struct ospf6_inter_router_lsa
{ (E)->metric &= htonl (0x00000000); \
(E)->metric |= htonl (0x00ffffff) & htonl (C); }
-int ospf6_is_router_abr (struct ospf6 *o);
+extern int ospf6_is_router_abr (struct ospf6 *o);
-void ospf6_abr_enable_area (struct ospf6_area *oa);
-void ospf6_abr_disable_area (struct ospf6_area *oa);
+extern void ospf6_abr_enable_area (struct ospf6_area *oa);
+extern void ospf6_abr_disable_area (struct ospf6_area *oa);
-void ospf6_abr_originate_summary_to_area (struct ospf6_route *route,
- struct ospf6_area *area);
-void ospf6_abr_originate_summary (struct ospf6_route *route);
-void ospf6_abr_examin_summary (struct ospf6_lsa *lsa, struct ospf6_area *oa);
-void ospf6_abr_examin_brouter (u_int32_t router_id);
-void ospf6_abr_reimport (struct ospf6_area *oa);
+extern void ospf6_abr_originate_summary_to_area (struct ospf6_route *route,
+ struct ospf6_area *area);
+extern void ospf6_abr_originate_summary (struct ospf6_route *route);
+extern void ospf6_abr_examin_summary (struct ospf6_lsa *lsa, struct ospf6_area *oa);
+extern void ospf6_abr_examin_brouter (u_int32_t router_id);
+extern void ospf6_abr_reimport (struct ospf6_area *oa);
-int config_write_ospf6_debug_abr (struct vty *vty);
-void install_element_ospf6_debug_abr ();
-int ospf6_abr_config_write (struct vty *vty);
+extern int config_write_ospf6_debug_abr (struct vty *vty);
+extern void install_element_ospf6_debug_abr (void);
+extern int ospf6_abr_config_write (struct vty *vty);
-void ospf6_abr_init ();
+extern void ospf6_abr_init (void);
#endif /*OSPF6_ABR_H*/
-
-