summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_ase.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-28 10:03:14 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-28 10:03:14 -0700
commit774b5b9ac303291dd153e79a6f6bab918a599025 (patch)
tree2979f731dcf16aa677c07cc3ae4ff813c35fd2df /ospfd/ospf_ase.c
parent4421ea9c1df765b81cde6a9a4c2347e12151d230 (diff)
downloadquagga-774b5b9ac303291dd153e79a6f6bab918a599025.tar.bz2
quagga-774b5b9ac303291dd153e79a6f6bab918a599025.tar.xz
get rid of compiler warnings in OSPF
To get rid of warnings: * remove unused functions with ifdef * use correct printf formats
Diffstat (limited to 'ospfd/ospf_ase.c')
-rw-r--r--ospfd/ospf_ase.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospf_ase.c b/ospfd/ospf_ase.c
index a4812345..47f8851f 100644
--- a/ospfd/ospf_ase.c
+++ b/ospfd/ospf_ase.c
@@ -156,6 +156,7 @@ ospf_ase_forward_address_check (struct ospf *ospf, struct in_addr fwd_addr)
return 1;
}
+#if 0
/* Calculate ASBR route. */
static struct ospf_route *
ospf_ase_calculate_asbr_route (struct ospf *ospf,
@@ -236,6 +237,7 @@ ospf_ase_calculate_asbr_route (struct ospf *ospf,
return asbr_route;
}
+#endif
static struct ospf_route *
ospf_ase_calculate_new_route (struct ospf_lsa *lsa,