]> granicus.if.org Git - graphviz/commitdiff
make_spring: make a static function
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 20 Dec 2021 16:13:44 +0000 (08:13 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 27 Dec 2021 20:05:42 +0000 (12:05 -0800)
This function is not used outside of stuff.c.

lib/neatogen/neatoprocs.h
lib/neatogen/stuff.c

index 0e2bb3bbbd0a7ddc2c9460840c6d96739d4181e3..e64df926f68f913244a03e8cc18b593f0563aef1 100644 (file)
@@ -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);
index befc8fd3993c9b7e43a8874150ba29cee72ff58e..969ff08e4d1329bb296dae66f44ef553fb6f0019 100644 (file)
@@ -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)
 {