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/ospf_route.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ospfd/ospf_route.c') diff --git a/ospfd/ospf_route.c b/ospfd/ospf_route.c index 3a1fa999..fc372329 100644 --- a/ospfd/ospf_route.c +++ b/ospfd/ospf_route.c @@ -270,6 +270,7 @@ ospf_route_install (struct ospf *ospf, struct route_table *rt) } } +#if 0 static void ospf_intra_route_add (struct route_table *rt, struct vertex *v, struct ospf_area *area) @@ -324,6 +325,7 @@ ospf_intra_route_add (struct route_table *rt, struct vertex *v, rn->info = or; } +#endif /* RFC2328 16.1. (4). For "router". */ void -- cgit v1.2.3