From 29efc39fd2e2f7280181e62c66f87b48d039fa22 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 20 Dec 2021 08:14:38 -0800 Subject: [PATCH] move_node: make a static function This function is not used outside of stuff.c. --- lib/neatogen/neatoprocs.h | 1 - lib/neatogen/stuff.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.40.0