]> granicus.if.org Git - graphviz/commitdiff
heapdown: make a static function
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 20 Dec 2021 16:10:22 +0000 (08:10 -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 24d058eca9d08cf357009e99f1881650ddfc5239..f268c47e93a31c410bd18d23ff2ed92d3bc7df21 100644 (file)
@@ -34,7 +34,6 @@ extern "C" {
     NEATOPROCS_API void diffeq_model(graph_t *, int);
     NEATOPROCS_API Ppolyline_t getPath(edge_t *, vconfig_t *, int, Ppoly_t **,
                               int);
-    NEATOPROCS_API void heapdown(Agnode_t *);
     NEATOPROCS_API void heapup(Agnode_t *);
     NEATOPROCS_API void initial_positions(graph_t *, int);
     NEATOPROCS_API void jitter3d(Agnode_t *, int);
index 688445cf2d373f87200c0cf2b10977fee3f3426e..9fb566bc1258aa4d61236288a33a5705d2c14c51 100644 (file)
@@ -594,7 +594,7 @@ void heapup(node_t * v)
     }
 }
 
-void heapdown(node_t * v)
+static void heapdown(node_t * v)
 {
     int i, left, right, c;
     node_t *u;