From: Matthew Fernandez Date: Mon, 20 Dec 2021 16:10:22 +0000 (-0800) Subject: heapdown: make a static function X-Git-Tag: 3.0.0~103^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97cd89d9d491f8c5aaa6a30fdeb4a7a67c1adebf;p=graphviz heapdown: make a static function This function is not used outside of stuff.c. --- diff --git a/lib/neatogen/neatoprocs.h b/lib/neatogen/neatoprocs.h index 24d058eca..f268c47e9 100644 --- a/lib/neatogen/neatoprocs.h +++ b/lib/neatogen/neatoprocs.h @@ -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); diff --git a/lib/neatogen/stuff.c b/lib/neatogen/stuff.c index 688445cf2..9fb566bc1 100644 --- a/lib/neatogen/stuff.c +++ b/lib/neatogen/stuff.c @@ -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;