From: Matthew Fernandez Date: Mon, 20 Dec 2021 16:14:38 +0000 (-0800) Subject: move_node: make a static function X-Git-Tag: 3.0.0~103^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29efc39fd2e2f7280181e62c66f87b48d039fa22;p=graphviz move_node: make a static function This function is not used outside of stuff.c. --- diff --git a/lib/neatogen/neatoprocs.h b/lib/neatogen/neatoprocs.h index e64df926f..d6647dca3 100644 --- a/lib/neatogen/neatoprocs.h +++ b/lib/neatogen/neatoprocs.h @@ -40,7 +40,6 @@ extern "C" { NEATOPROCS_API Ppoly_t *makeObstacle(node_t * n, expand_t*, bool); NEATOPROCS_API void makeSelfArcs(edge_t * e, int stepx); NEATOPROCS_API void makeSpline(edge_t *, Ppoly_t **, int, boolean); - NEATOPROCS_API void move_node(graph_t *, int, Agnode_t *); NEATOPROCS_API int init_nop(graph_t * g, int); NEATOPROCS_API void neato_cleanup(graph_t * g); NEATOPROCS_API node_t *neato_dequeue(void); diff --git a/lib/neatogen/stuff.c b/lib/neatogen/stuff.c index 969ff08e4..6ea155d47 100644 --- a/lib/neatogen/stuff.c +++ b/lib/neatogen/stuff.c @@ -21,6 +21,7 @@ static double Epsilon2; static Agnode_t *choose_node(graph_t *, int); static void make_spring(graph_t *, Agnode_t *, Agnode_t *, double); +static void move_node(graph_t *, int, Agnode_t *); static double fpow32(double x) {