]> granicus.if.org Git - graphviz/commitdiff
fpow32: make a static function
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 20 Dec 2021 16:08:19 +0000 (08:08 -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 baa252b7b6bd248dd9913257087e66d98b1373e0..24d058eca9d08cf357009e99f1881650ddfc5239 100644 (file)
@@ -32,7 +32,6 @@ extern "C" {
     NEATOPROCS_API int checkStart(graph_t * G, int nG, int);
     NEATOPROCS_API int circuit_model(graph_t *, int);
     NEATOPROCS_API void diffeq_model(graph_t *, int);
-    NEATOPROCS_API double fpow32(double);
     NEATOPROCS_API Ppolyline_t getPath(edge_t *, vconfig_t *, int, Ppoly_t **,
                               int);
     NEATOPROCS_API void heapdown(Agnode_t *);
index 28156a9dfc4aea3326486ac484238d7f47592e74..688445cf2d373f87200c0cf2b10977fee3f3426e 100644 (file)
@@ -21,7 +21,7 @@
 static double Epsilon2;
 static Agnode_t *choose_node(graph_t *, int);
 
-double fpow32(double x)
+static double fpow32(double x)
 {
     x = sqrt(x);
     return x * x * x;