From 1845f5d1444d8e3e05026a865627ca7a8753faf8 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 5 Jun 2020 16:40:41 -0700 Subject: [PATCH] remove unused agraphseqcmpf function --- lib/cgraph/graph.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/cgraph/graph.c b/lib/cgraph/graph.c index 453ac52c2..972e3bf68 100644 --- a/lib/cgraph/graph.c +++ b/lib/cgraph/graph.c @@ -249,16 +249,6 @@ static int agraphidcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) return ((v==0)?0:(v<0?-1:1)); } -int agraphseqcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) -{ - long v; - Agraph_t *sg0, *sg1; - sg0 = (Agraph_t *) arg0; - sg1 = (Agraph_t *) arg1; - v = (AGSEQ(sg0) - AGSEQ(sg1)); - return ((v==0)?0:(v<0?-1:1)); -} - Dtdisc_t Ag_subgraph_id_disc = { 0, /* pass object ptr */ 0, /* size (ignored) */ -- 2.40.0