From: Matthew Fernandez Date: Mon, 20 Dec 2021 16:04:07 +0000 (-0800) Subject: choose_node: make a static function X-Git-Tag: 3.0.0~103^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54713706a07f45e395b593f6ee6acaf3721d564a;p=graphviz choose_node: make a static function This is not used outside of stuff.c. --- diff --git a/lib/neatogen/neatoprocs.h b/lib/neatogen/neatoprocs.h index 76ac9172d..09d259981 100644 --- a/lib/neatogen/neatoprocs.h +++ b/lib/neatogen/neatoprocs.h @@ -30,7 +30,6 @@ extern "C" { #endif NEATOPROCS_API int checkStart(graph_t * G, int nG, int); - NEATOPROCS_API Agnode_t *choose_node(graph_t *, int); NEATOPROCS_API int circuit_model(graph_t *, int); NEATOPROCS_API void D2E(Agraph_t *, int, int, double *); NEATOPROCS_API void diffeq_model(graph_t *, int); diff --git a/lib/neatogen/stuff.c b/lib/neatogen/stuff.c index 6a721ff74..d4df51c99 100644 --- a/lib/neatogen/stuff.c +++ b/lib/neatogen/stuff.c @@ -19,7 +19,7 @@ #endif static double Epsilon2; - +static Agnode_t *choose_node(graph_t *, int); double fpow32(double x) {