From: Matthew Fernandez Date: Mon, 20 Dec 2021 16:05:47 +0000 (-0800) Subject: D2E: make a static X-Git-Tag: 3.0.0~103^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=737cab185c4bfcc75a1e53f71998dcbd00ac4882;p=graphviz D2E: make a static This function is not used outside of stuff.c. --- diff --git a/lib/neatogen/neatoprocs.h b/lib/neatogen/neatoprocs.h index 09d259981..84aca5c1f 100644 --- a/lib/neatogen/neatoprocs.h +++ b/lib/neatogen/neatoprocs.h @@ -31,7 +31,6 @@ extern "C" { NEATOPROCS_API int checkStart(graph_t * G, int nG, 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); NEATOPROCS_API double distvec(double *, double *, double *); NEATOPROCS_API void final_energy(graph_t *, int); diff --git a/lib/neatogen/stuff.c b/lib/neatogen/stuff.c index d4df51c99..010748b9b 100644 --- a/lib/neatogen/stuff.c +++ b/lib/neatogen/stuff.c @@ -476,7 +476,7 @@ static void update_arrays(graph_t * G, int nG, int i) } #define Msub(i,j) M[(i)*Ndim+(j)] -void D2E(graph_t * G, int nG, int n, double *M) +static void D2E(graph_t * G, int nG, int n, double *M) { int i, l, k; node_t *vi, *vn;