From: Matthew Fernandez Date: Mon, 20 Dec 2021 16:11:14 +0000 (-0800) Subject: heapup: make a static function X-Git-Tag: 3.0.0~103^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=514e2679b7580e3b64294e786eb1330af5395922;p=graphviz heapup: 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 f268c47e9..0e2bb3bbb 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 heapup(Agnode_t *); NEATOPROCS_API void initial_positions(graph_t *, int); NEATOPROCS_API void jitter3d(Agnode_t *, int); NEATOPROCS_API void jitter_d(Agnode_t *, int, int); diff --git a/lib/neatogen/stuff.c b/lib/neatogen/stuff.c index 9fb566bc1..befc8fd39 100644 --- a/lib/neatogen/stuff.c +++ b/lib/neatogen/stuff.c @@ -577,7 +577,7 @@ static node_t **Heap; static int Heapsize; static node_t *Src; -void heapup(node_t * v) +static void heapup(node_t * v) { int i, par; node_t *u;