From 514e2679b7580e3b64294e786eb1330af5395922 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 20 Dec 2021 08:11:14 -0800 Subject: [PATCH] heapup: make a static function This function is not used outside of stuff.c. --- lib/neatogen/neatoprocs.h | 1 - lib/neatogen/stuff.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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; -- 2.50.1