]> granicus.if.org Git - graphviz/commitdiff
D2E: make a static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 20 Dec 2021 16:05:47 +0000 (08:05 -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 09d2599817fda8364b67c4c00d131c7039da871f..84aca5c1f17f75f798482cbe6eda372d3899c702 100644 (file)
@@ -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);
index d4df51c9904140c3225a2f723ca4f0333b411ccb..010748b9b3bef184fa44151cf9217e8f562e6fe8 100644 (file)
@@ -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;