]> granicus.if.org Git - graphviz/commitdiff
move_node: make a static function
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 20 Dec 2021 16:14:38 +0000 (08:14 -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 e64df926f68f913244a03e8cc18b593f0563aef1..d6647dca35a61737b4754e05cb9ef26dd565968e 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 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);
index 969ff08e4d1329bb296dae66f44ef553fb6f0019..6ea155d476d7db5613add14883b7bcf9d33c7dfb 100644 (file)
@@ -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)
 {