From: Matthew Fernandez Date: Mon, 20 Dec 2021 16:13:44 +0000 (-0800) Subject: make_spring: make a static function X-Git-Tag: 3.0.0~103^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e4cdbcf24112848f7dc7480babe35f1793ae606;p=graphviz make_spring: 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 0e2bb3bbb..e64df926f 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 make_spring(graph_t *, Agnode_t *, Agnode_t *, double); 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); diff --git a/lib/neatogen/stuff.c b/lib/neatogen/stuff.c index befc8fd39..969ff08e4 100644 --- a/lib/neatogen/stuff.c +++ b/lib/neatogen/stuff.c @@ -20,6 +20,7 @@ static double Epsilon2; static Agnode_t *choose_node(graph_t *, int); +static void make_spring(graph_t *, Agnode_t *, Agnode_t *, double); static double fpow32(double x) {