From 774b5b9ac303291dd153e79a6f6bab918a599025 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 28 May 2008 10:03:14 -0700 Subject: get rid of compiler warnings in OSPF To get rid of warnings: * remove unused functions with ifdef * use correct printf formats --- ospfd/ospfd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ospfd/ospfd.c') diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index a4c4fac3..448f218e 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -1246,6 +1246,7 @@ ospf_area_nssa_translator_role_set (struct ospf *ospf, struct in_addr area_id, return 1; } +#if 0 /* XXX: unused? Leave for symmetry? */ static int ospf_area_nssa_translator_role_unset (struct ospf *ospf, @@ -1263,6 +1264,7 @@ ospf_area_nssa_translator_role_unset (struct ospf *ospf, return 1; } +#endif int ospf_area_export_list_set (struct ospf *ospf, -- cgit v1.2.3